PivotItem constructor
Collapse the table of content
Expand the table of content

WinJS.UI.PivotItem constructor

Applies to Windows and Windows Phone

Creates a new PivotItem control

Syntax


var pivotItem = new WinJS.UI.PivotItem(element, options);

Parameters

element

Type: HTMLElement

The DOM element hosts the new PivotItem.

options

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 or events.

Remarks

Note   For Windows, this member is available starting with the WinJS 3.0 library. The WinJS 3.0 library is available via CDN, package manager, or website download but currently not through the Windows Store as a Windows Store framework package.
 

Requirements

Minimum WinJS version

Phone WinJS 2.1

Namespace

WinJS.UI

See also

PivotItem

 

 

Show:
© 2017 Microsoft