Methods |
---|
new PanelMenu()
- Source:
Methods
(static) set(entityId, id, title, html, icon, bodyId)
Set another tab to the panel
Parameters:
Name | Type | Description |
---|---|---|
entityId |
id of the entity owning this element, in the case of error, all classes with 'entityId' are removed for consistency by the CORE (i.e. use plugin ID) | |
id |
of the panel, does not have to be unique in DOM (but recommended to avoid problems); entityId and id pair uniquely determines the tab | |
title |
the tab button title | |
html |
the tab content | |
icon |
the icon name for button, default "" | |
bodyId |
unique container ID in the DOM context (can be the same as id if unique) -> this id can be accessed to further modify this container contents |
- Source:
(static) setNotify(focus, sign)
Show tab notification
Parameters:
Name | Type | Description |
---|---|---|
focus |
string | id of the focus |
sign |
string | undefined | custom symbol to show, shows counter of calls if undefined |
- Source: