共用方式為


WinJS.UI.TabContainer constructor

Creates a new TabContainer.

Syntax

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

Parameters

  • element
    Type: Object

    The DOM element that hosts the TabContainer control.

  • options [optional]
    Type: Object

    An object that contains one or more property/value pairs to apply to the new control. Each property of the options object corresponds to one of the control's properties.

Requirements

Minimum WinJS version

WinJS 3.0

Namespace

WinJS.UI

See also

TabContainer