Class M.TabBarItemView
Extends
M.View.
This defines the prototype of any tab bar item view. An M.TabBarItemView can only be
used as a child view of a tab bar view.
Defined in: tab_bar_item.js.
Constructor Attributes | Constructor Name and Description |
---|---|
Field Attributes | Field Name and Description |
---|---|
This property is used to specify an internal action for an automatically called action.
|
|
This property is used to specify an internal target for an automatically called action.
|
|
Determines whether this TabBarItem is active or not.
|
|
The type of this object.
|
- Fields borrowed from class M.View:
- childViews, contentBinding, cssClass, cssClassOnError, cssClassOnInit, cssStyle, hasFocus, html, id, isInline, isView, modelId, parentView, triggerActionOnChange, triggerActionOnEnter, triggerActionOnKeyUp, value
Method Attributes | Method Name and Description |
---|---|
This method is automatically called if a tab bar item is clicked.
|
- Methods borrowed from class M.View:
- addCssClass, attachToObservable, clearHtml, computeValue, contentDidChange, delegateValueUpdate, design, gotFocus, lostFocus, nl2br, removeCssClass, removeCssProperty, renderUpdate, secure, setCssProperty, setValueFromDOM, style, theme, themeChildViews
- Methods borrowed from class M.Object:
- bindToCaller, create, destroy, extend, get, include, set
Field Detail
{Object}
internalAction
This property is used to specify an internal action for an automatically called action. This
is used to trigger the switchPage() by clicking on a tab bar item.
{Object}
internalTarget
This property is used to specify an internal target for an automatically called action. This
is used to trigger the switchPage() by clicking on a tab bar item.
{Boolean}
isActive
Determines whether this TabBarItem is active or not.
{String}
type
The type of this object.
Method Detail
switchPage()
This method is automatically called if a tab bar item is clicked. It delegates the
page switching job to M.Controller.