Anteckning
Åtkomst till den här sidan kräver auktorisering. Du kan prova att logga in eller ändra kataloger.
Åtkomst till den här sidan kräver auktorisering. Du kan prova att ändra kataloger.
Sets custom animations for the FlipView to use when navigating between pages. These custom animations only apply to keyboard, mouse, and programmatically triggered navigation actions.
Syntax
flipView.setCustomAnimations(animations);
Parameters
animations
Type: ObjectAn 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 WinJS version |
WinJS 3.0 |
Namespace |
WinJS.UI |