Class: module:argos/TabWidget

module:argos/TabWidget()

new module:argos/TabWidget()

Extends:
Source:

Extends

Members

currentTab

Properties:
Name Type Description
Current li

tab (html element li) that the view is on

Source:

defaultTabIndex

Properties:
Name Type Description
int int

value representing the index at which the default tab is located

Source:

tabContainerTemplate

Properties:
Name Type Description
HTML Simplate

that defines a new tab list

Source:

tabContentTemplate

Properties:
Name Type Description
HTML Simplate

that defines a new tab list

Source:

tabListItemTemplate

Properties:
Name Type Description
HTML Simplate

that defines a new tab to be placed in the tab list

Source:

tabMapping

Properties:
Name Type Description
Mapping Array

of tab to the section

Source:

tabs

Properties:
Name Type Description
Array Array

holding the tab dom elements

Source:

Methods

buildRendering()

Processes this.widgetTemplate or this.contentTemplate

Inherited From:
Source:

clearTabs()

Function used to clear the tabs, should be called by the parent on it's clear call

Source:

createTabs(An)

Function used to create the tabs, should be called by the parent upon completion of populating the tabs array of dom objects

Parameters:
Name Type Description
An Array

array of the tab objects.

Source:

placeTabList()

Sets the parentNode for the tabList

Source: