Class: TabPanel

TabPanel

new tart.TabPanel(options)

Returns an instance of tab and panel for using it in an tabpanel Options object should include a title as tab's title and html as panel's default html If Options object is ommited, an empty string will appended as tab title and panel html

Name Type Description
options Object optional

Customized options for panel instance.

Extends

  • goog.pubsub.PubSub

Members

onClosefunction undefined

Callback function that will be triggered before a TabPanel instance is shown.

onShowfunction undefined

Callback function that will be triggered before a TabPanel instance is shown.

Methods

protectedinitOptions(options)

Merges custom options object with defaults

Name Type Description
options Object optional

Custom config object.

templates_panel(){string}

Returns:
Type Description
string Panel markup.

templates_tab(){string}

Returns:
Type Description
string Tab markup.