Class: AbstractToolbar

.Presentation.Component. AbstractToolbar


<abstract> new AbstractToolbar()

An abstract tooldbar Component, designed to be extended

Source:

Extends

Members


<static> isInitalized

The initialized property

Properties:
Name Type Description
isInitalized boolean

The initialized property

Source:

<static> menuItems

The menuitems property

Properties:
Name Type Description
menuItems array

The initialized property

Source:

<static> model

The model property

Properties:
Name Type Description
model Augmented.Model

The model property

Source:

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