Class SS.control.tabbar
Tab bar.
Defined in: SS.control.tabbar.js.
| Constructor Attributes | Constructor Name and Description |
|---|---|
| Field Attributes | Field Name and Description |
|---|---|
|
Identifier of the tabbar control.
|
|
|
Function called or evaluated {String} whenever the selected tab changes.
|
|
|
Function called or evaluated {String} whenever any tab is deselected.
|
|
|
Function called or evaluated {String} whenever any tab is selected.
|
|
|
Flag indicating if the tab bar is visible.
|
| Method Attributes | Method Name and Description |
|---|---|
|
render()
Renders the tabbar on the page.
|
|
|
Returns the selected tab.
|
|
|
selectTab(i)
Selects a tab based on the id specified or index position.
|
|
|
tabs()
Returns an array of the tab controls in the tabbar.
|
Field Detail
id
Identifier of the tabbar control.
onchange
Function called or evaluated {String} whenever the selected tab changes.
ondeselect
Function called or evaluated {String} whenever any tab is deselected.
onselect
Function called or evaluated {String} whenever any tab is selected.
visible
Flag indicating if the tab bar is visible.
Default = true.
Method Detail
render()
Renders the tabbar on the page.
- Returns:
- null
{SS.control.tab}
selectedTab()
Returns the selected tab.
- Returns:
- {SS.control.tab} Selected tab SS.control.tab.
{SS.control.tab}
selectTab(i)
Selects a tab based on the id specified or index position.
- Parameters:
- {String} i
- Identifier or index position of the tab to select
- Since:
- v1.0.7.20090731
- Returns:
- {SS.control.tab} Selected tab SS.control.tab.
{Array}
tabs()
Returns an array of the tab controls in the tabbar.
- Returns:
- {Array} Array of SS.control.tab.
