FlipView.setCustomAnimations method

0 out of 4 rated this helpful - Rate this topic

Sets custom animations for the FlipView to use when navigating between pages. These custom animations only apply to keyboard, mouse, and programmatically triggered navigations.

Syntax


flipView.setCustomAnimations(animations);

Parameters

animations

Type: Object

An object that contains up to three fields, one for each navigation action: next, previous, and jump.

Each of those fields must be a function with this signature: function (outgoingPage, incomingPage) Each function must return a WinJS.Promise that completes once the animations are finished.

If a field is null or undefined, the FlipView reverts to its default animation for that action.

Return value

This method does not return a value.

Requirements

Minimum supported client

Windows 8 [Windows Store apps only]

Minimum supported server

Windows Server 2012 [Windows Store apps only]

Namespace

WinJS.UI

Library

Ui.js

See also

FlipView

 

 

Build date: 12/5/2012

Did you find this helpful?
(1500 characters remaining)
© 2013 Microsoft. All rights reserved.