FlipView.currentPage property

Gets or sets the index of the currently displayed page.

Syntax

<div data-win-control="WinJS.UI.FlipView" data-win-options="{ currentPage : value}" ></div>
var currentPage = flipView.currentPage;
flipView.currentPage = currentPage;

Property value

Type: Number

A number greater than or equal to 0 that specifies the index of the currently displayed page.

Requirements

Minimum WinJS version

WinJS 3.0

Namespace

WinJS.UI

See also

FlipView