Partager via


PivotItem.element property

Gets the DOM element that hosts the PivotItem control.

Syntax

<div data-win-control="WinJS.UI.PivotItem" data-win-options="{ element : value}" />
var element = pivotItem.element;

Property value

Type: HTMLElement

The DOM element that hosts the PivotItem control.

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