Augmented.js Next Presentation - Navigation Components
Extends AbstractToolbar
A Hamburger Menu View
options
Render the Hamburger Menu
Returns object Returns the view context ('this')
Toggle the Hamburger menu view
Extends DecoratorView
An abstract tooldbar Component, designed to be extended
As an abstract it's not intented to use directly, most of the api creates
the toolbars and no need to pass to constructor.
Supported Options:
- title : The title of the toolbar (most cases displays)
- data : Data to pass to the toolbar as object
- menuItems : The menuItems of the toolbar
- tooltip : adds a tooltip
optionsobject Options to pass
The model property
idclickicontitlespacer(optional, defaultfalse)
modelModel The model property
The initialized property
idclickicontitlespacer(optional, defaultfalse)
isInitalizedboolean The initialized property
The menuItems property
idclickicontitlespacer(optional, defaultfalse)
menuItemsarray The initialized property
The title property
idclickicontitlespacer(optional, defaultfalse)
titlestring The title property
Adds an item to the menu
id{string} The id of the itemIDclick{string} The bound click method to callicon{string} The icon name (webfont)title{string} The title of the itemIDspacer{boolean} Sets a spacer item vs text (not clickable) (optional, defaultfalse)
addItem({"itemID", "event", "web", "something", false });addItem({"space", null, null, null, true });Adds a label (no click) to the menu
id{string} The id of the itemIDicon{string} The icon name (webfont) (optional, defaultnull)title{string} The title of the itemIDlevel{number} Set the level of the title (1 = h1, 2 = h2, etc. 0 is default and just text) (optional, default0)
addLabel({"itemID", "web", "something"});addLabel({"itemID", "mail", "something", 1});Adds a spacer item to the menu
addSpacer();Clear all items in the menu
Select an item in the menu
idstring The id to select
Get an item in the menu
idstring The id to get
Extends AbstractToolbar
A Menu
options
Renders the Menu
Returns object Returns the view context ('this')
Extends AbstractToolbar
A Navigation Menu
options
Renders the Menu
Returns object Returns the view context ('this')
Extends AbstractToolbar
A Notfication Center Component
options
Show the NotificationCenter
Hide the NotificationCenter
Clear the NotificationCenter
Renders the Menu
Returns object Returns the view context ('this')
Extends AbstractToolbar
A Toolbar View
options
Render the Toolbar
Returns object Returns the view context ('this')
Extends AbstractToolbar
An Iconbar View
options
Adds an item to the menu
id{string} The id of the itemIDclick{string} The bound click method to callicon{string} The icon name (webfont) or image src uritoolTip{string} The toolTip of the itemIDisImageLink{boolean} Sets is icon is an image link vs web font
addIcon({"itemID", "event", "settings", "something", false });addIcon({"itemID", "event", "/images/blah.png", "something", true });Render the Toolbar
Returns object Returns the view context ('this')