WinJS.UI.WinJS.UI.PivotItem object

Creates an item within a Pivot control.
Syntax
<div data-win-control="WinJS.UI.PivotItem"></div>
var object = new WinJS.UI.PivotItem(element, options);
Members
The PivotItem object has these types of members:
Constructors
The PivotItem object has these constructors.
| Constructor | Description |
|---|---|
| PivotItem |
Creates a new PivotItem control |
Methods
The PivotItem object has these methods.
| Method | Description |
|---|---|
| dispose |
Releases resources held by this PivotItem. Call this method when the PivotItem is no longer needed. After calling this method, the PivotItem becomes unusable. |
Properties
The PivotItem object has these properties.
| Property | Access type | Description |
|---|---|---|
|
Read-only |
Gets the DOM element that hosts the PivotItem control's content. | |
|
Read-only |
Gets the DOM element that hosts the PivotItem control. | |
|
Read/write |
Gets or sets the header for this PivotItem. |
Remarks
Styling the PivotItem
CSS classes
To customize the PivotItem, you can define your own styles for these Cascading Style Sheets (CSS) classes (defined by the Windows Library for JavaScript style sheets):
| CSS class | Description |
|---|---|
|
Styles the PivotItem control. | |
|
Styles the HTML content within the PivotItem control. |
Requirements
|
Minimum WinJS version |
Phone WinJS 2.1 |
|---|---|
|
Namespace |
WinJS.UI |