documentation

Documentation generator: JsDoc Toolkit 2.4.0
Template: Wink 1.0
Generated on:

Class wink.ui.layout.TabContainer.Tab

Implement a tab to be added to the tab container Create a tab. Tabs should only be instantiated by the TabContainer object

Class Summary
Constructor Attributes Constructor Name and Description
 

Method Summary

Class Detail

wink.ui.layout.TabContainer.Tab(properties)
Parameters:
{object} properties
The properties object
{HTMLElement} properties.contentNode
A DOM node corresponding to the tab content
{string} properties.title
The title of the tab

Field Detail

{string} id
The dom node id of the tab
{integer} index
The position of tab in the list of tabs
{integer} position
Position in pixels of the tab inside the tabsNode
{integer} size
Size in pixels of the tab
{integer} uId
Unique identifier

Method Detail

  • activate()
    Activate the tab
  • deactivate()
    Deactivate the tab
  • {HTMLElement} getContentNode()
    Returns:
    {HTMLElement} The DOM node containing the content of the tab
  • {HTMLElement} getTabNode()
    Returns:
    {HTMLElement} the DOM node containing the tab
  • updateMaxWidth(width)
    Update the maximum width of the tab
    Parameters:
    {integer} width
    The maximum width in pixels