DojoMobileTabContainer

The DojoMobileTabContainer widget creates the tab folders.

Properties

selection
Returns the index of the currently selected tab. When a number is assigned, it indicates that the tab container selects a specified tab.
tabPosition
The position where the tab locates. The values can be: DojoMobileLib.TAB_POSITION_TOP, DojoMobileLib.TAB_POSITION_BOTTOM, DojoMobileLib.TAB_POSITION_FIXED_TOP, and DojoMobileLib.TAB_POSITION_FIXED_BOTTOM. The default position is Top. When the value of the tabPosition is Fixed Top or Fixed Bottom, the z-index of the tab container becomes 10000.
segmentedControl
A boolean value. When the value is true, it applies segmented-control style and both the selected and cleared icons for DojoMobileTab display on the left. When the value is false, the icons display inside each tab above the label.
children
An array of child widgets. The child widgets can only be of type DojoMobileTab, otherwise the widgets are ignored.

Functions

addTab
Adds a tab.
removeTab
Removes the selected tab.

Feedback