Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

FlipView.currentPage property

Applies to Windows and Windows Phone

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

 

 

Show: