void
addTab
(
tab
,
index
)
Adds a Tab to the TabView instance.
If no index is specified, the tab is added to the end of the tab list.
- Parameters:
-
tab <YAHOO.widget.Tab>
A Tab instance to add.
-
index <Integer>
The position to add the tab.
- Returns:
void
- void
void
contentTransition
(
)
The transiton to use when switching between tabs.
private
void
createTabs
(
elements
)
Creates Tab instances from a collection of HTMLElements.
- Parameters:
-
elements <Array|HTMLCollection>
The elements to use for Tabs.
- Returns:
void
- void
void
DOMEventHandler
(
e
)
Routes childNode events.
- Parameters:
-
e <event>
The Dom event that is being handled.
- Returns:
void
- void
void
getTab
(
index
)
Returns the Tab instance at the specified index.
- Parameters:
-
index <Integer>
The position of the Tab.
- Returns:
void
- YAHOO.widget.Tab
void
getTabIndex
(
tab
)
Returns the index of given tab.
- Parameters:
-
tab <YAHOO.widget.Tab>
The tab whose index will be returned.
- Returns:
void
- int
void
initAttributes
(
attr
)
setAttributeConfigs TabView specific properties.
- Parameters:
-
attr <Object>
Hash of initial attributes
- Returns:
void
void
removeTab
(
item
)
Removes the specified Tab from the TabView.
- Parameters:
-
item <YAHOO.widget.Tab>
The Tab instance to be removed.
- Returns:
void
- void
void
toString
(
)
Provides a readable name for the TabView instance.