TabPanel Class

Standard tab control used to show/hide individual panels, one panel at a time.

Constructors

TabPanel( parent, config )
Used to instantiate this class
parentDOM element in which to render this component
configConfiguration settings (optional). See config options for more information.

Config Options

closable

Events

onTabChange( currTab, prevTab )

Public Methods

addTab( name, _el )
Used to add a new tab to the panel.
nameTitle or name associated with the tab.
_elDOM element rendered when the tab is active.
getTabs( )
Returns a list of tabs in the tab panel.
raiseTab( id )
removeTab( id )
hideTab( id )
showTab( id )