PanelCache is a singleton that loads a panel module based on the panel id and caches the loaded modules.
- Source:
Methods
get(panelId, callback)
Get the panel module of a specified id.
Get the panel module of a specified id. If there is no corresponding panel module of the id, it returns SettingsPanel.
Parameters:
Name | Type | Description |
---|---|---|
panelId |
String | The id of the to be loaded panel. |
callback |
function | The function to be called when the panel is loaded. |
- Source: