Skip to main content
WinJS.UI.TabContainer object

Applies to Windows and Windows Phone

Prevents a Document Object Model (DOM) sub-tree from receiving tab navigations and focus.

Syntax


var object = new WinJS.UI.TabContainer(element, object);

Members

The TabContainer object has these types of members:

Constructors

The TabContainer object has these constructors.

ConstructorDescription
TabContainer

Creates a new TabContainer.

 

Methods

The TabContainer object has these methods.

MethodDescription
dispose

Releases resources held by this TabContainer. Call this method when the TabContainer is no longer needed. After calling this method, the TabContainer becomes unusable.

 

Properties

The TabContainer object has these properties.

PropertyAccess typeDescription

childFocus

Read/write

Gets or sets the child DOM element that receives tab focus.

tabIndex

Read/write

Gets or sets the tab order of the control within its container.

 

Remarks

When you create a TabContainer, the host element and the DOM children of the host element no longer receive tab navigations or tab focus.

You can optionally designate a child element to receive focus when you tab to this control by setting the childFocus property.

Requirements

Minimum supported client

Windows 8 [Windows Store apps only]

Minimum supported server

Windows Server 2012 [Windows Store apps only]

Minimum supported phone

Windows Phone 8.1

Namespace

WinJS.UI

Library

Base.js