A TabBarButton widget is a button in the TabBar widget, which is the child widget of the TabBarGroup. The TabBarButton contols the visibility of the views. When you add a ScrollableView to a TabBarGroup, a TabBarButton for this ScrollableView is also created.
Derived base
dojox.mobile._ItemBase
Properties
id
A unique ID string for the widget.
label
The text to be displayed as the label of the widget.You must define the label of the widget in this property or in the dataNameForLabel property.
dataNameForLabel
The name of a data element to which the widget is bound. The value of the data element is displayed as the label of the widget. You can define the label of the widget in this property or in the label property.
transition
The animated transition effect for the widget.
transitionDir
1
This is the default value. Transition forward.
-1
Transition backward.
icon1
The path of the icon to be displayed on the TabBarButton when the tab is not selected.
icon2
The path of the icon to be displayed on the TabBarButton when the tab is selected.
ECA editor support
Event that can be added to the TabBarButton widget with the ECA editor
onClick
This event is called when you tap the widget.
Properties that can be configured for the TabBarButton widget with the ECA editor
icon1
The path of the icon to be displayed on the TabBarButton when the tab is not selected.
Applicable ECA part: Expression in Condition
icon2
The path of the icon to be displayed on the TabBarButton when the tab is selected.
Applicable ECA part: Expression in Condition
id
A unique ID string for the widget.
Applicable ECA part: Expression in Condition
moveTo
The id of the transition destination view.
Applicable ECA part: Expression in Condition
Functions that can be configured for the TabBarButton widget with the ECA editor