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 supported client

Windows 8 [Windows Store apps only]

Minimum supported server

Windows Server 2012 [Windows Store apps only]

Minimum supported phone

Windows Phone 8.1

Namespace

WinJS.UI

Library

Ui.js

See also

FlipView

 

 

Show:
© 2014 Microsoft. All rights reserved.