Class mindmaps.ToolBarMenu
Defined in: ToolBar.js.
| Constructor Attributes | Constructor Name and Description |
|---|---|
|
mindmaps.ToolBarMenu(title, icon)
Creates a new ToolBarMenu.
|
| Method Attributes | Method Name and Description |
|---|---|
|
add(buttons)
Adds a new button entry to the menu.
|
|
|
Returns the underlying jquery object.
|
Class Detail
mindmaps.ToolBarMenu(title, icon)
Creates a new ToolBarMenu.
- Parameters:
- {String} title
- {String} icon
Method Detail
add(buttons)
Adds a new button entry to the menu.
- Parameters:
- {mindmaps.ToolBarButton|mindmaps.ToolBarButtons[]} buttons
- a single button or an array of buttons
{jQuery}
getContent()
Returns the underlying jquery object.
- Returns:
- {jQuery}