A Dojo mobile tab container embeds Dojo mobile tabs.
Fields
- children
- A list of DojoMobileView widgets that represent the tabs.
- segmentedControl
- A boolean value to indicate whether to show, at the top of the
screen, a bar of the kind that typically provides access to multiple
views.
- selection
- Returns the index of the currently selected tab.
Other supported fields are described in “Rich UI
widget fields.”
Functions
- addTab (tab DojoMobileTab, index int)
- Adds the tab at the specified, 1-based index.
- removeTab (index int)
- Removes the tab from the specified, 1-based index.
For details on functions that are typically available
in widgets, see ”Rich UI widget functions.”
Example
Use of this widget requires a statement like this:
import dojo.mobile.widgets.DojoMobileTabContainer;