<abstract> new AbstractToolbar()
An abstract tooldbar Component, designed to be extended
- Source:
Extends
Members
-
<static> isInitalized
-
The initialized property
- Source:
Properties:
Name Type Description isInitalized
boolean The initialized property
-
The menuitems property
- Source:
Properties:
Name Type Description menuItems
array The initialized property
-
<static> model
-
The model property
- Source:
Properties:
Name Type Description model
Augmented.Model The model property
Methods
-
<static> addItem - Adds an item to the menu(id, click, icon, title, spacer)
-
Parameters:
Name Type Description id
string The id of the itemID
click
string The bound click method to call
icon
string The icon name (webfont)
title
string The title of the itemID
spacer
boolean Sets a spacer item vs text (not clickable)
- Source:
Examples
addItem({"itemID", "event", "web", "something", false });
addItem({"space", null, null, null, true });
-
<static> addSpacer - Adds a spacer item to the menu()
-
- Source:
Example
addSpacer();
-
<static> initialize(options)
-
Initialize the view
Parameters:
Name Type Description options
object The view options
- Source:
Returns:
Returns true on success of initalization
- Type
- boolean