Class wink.ui.layout.TabContainer.Tab-WP
Windows Phone Tab implementation
- Defined in: tabcontainer_wp75.js
| Constructor Attributes | Constructor Name and Description |
|---|---|
| <inner> |
wink.ui.layout.TabContainer.Tab-WP(properties)
|
Method Summary
Class Detail
<inner>
wink.ui.layout.TabContainer.Tab-WP(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
Defined in: tabcontainer.js.
Defined in: tabcontainer.js.
{integer}
index
The position of tab in the list of tabs
Defined in: tabcontainer.js.
Defined in: tabcontainer.js.
{integer}
position
Position in pixels of the tab inside the tabsNode
Defined in: tabcontainer.js.
Defined in: tabcontainer.js.
{integer}
size
Size in pixels of the tab
Defined in: tabcontainer.js.
Defined in: tabcontainer.js.
{integer}
uId
Unique identifier
Defined in: tabcontainer.js.
Defined in: tabcontainer.js.
Method Detail
-
activate()Activate the tab
Defined in: tabcontainer.js. -
deactivate()Deactivate the tab
Defined in: tabcontainer.js. -
{HTMLElement} getContentNode()
Defined in: tabcontainer.js.- Returns:
- {HTMLElement} The DOM node containing the content of the tab
-
{HTMLElement} getTabNode()
Defined in: tabcontainer.js.- Returns:
- {HTMLElement} the DOM node containing the tab
-
updateMaxWidth(width)Update the maximum width of the tab
Defined in: tabcontainer.js.- Parameters:
- {integer} width
- The maximum width in pixels