Tools menu by default invisible (top)
- Source:
Methods
(static) close()
Close the menu, so that it is not visible at all.
- Source:
(static) notify(menuId, symbol)
Notify menu. The menu tab will receive a counter that notifies the user something has happened.
Parameters:
Name | Type | Description |
---|---|---|
menuId |
string | menu id to open at |
symbol |
string | a html symbol (that can be set as data- attribute) to show, shows increasing counter if undefined (e.g. 3 if called 3 times) |
- Source:
(static) open(toolsId)
Show desired toolBar menu. Also opens the toolbar if closed.
Parameters:
Name | Type | Description |
---|---|---|
toolsId |
string | undefined | menu id to open at |
- Source:
(static) setMenu(ownerPluginId, toolsMenuId, title, html, icon)
Add menu to the Tools
Parameters:
Name | Type | Description |
---|---|---|
ownerPluginId |
string | |
toolsMenuId |
string | unique menu id |
title |
string | |
html |
string | |
icon |
string |
- Source: