共用方式為


WinJS.UI.PageNavigationAnimation enumeration

Specifies what animation type is used for new pages entering and exiting the viewport.

Syntax

var WinJS.UI.PageNavigationAnimation = {
  turnstile : "turnstile", 
  slide : "slide", 
  enterPage : "enterPage", 
  continuum : "continuum"
}

Members

The PageNavigationAnimation enumeration has these members.

Member Value Description
turnstile "turnstile"

The pages exit and enter using a turnstile animation.

slide "slide"

The pages exit and enter using an animation that slides up/down.

enterPage "enterPage"

The pages enter using an enterPage animation, and exit with no animation.

continuum "continuum"

The pages exit and enter using a continuum animation.

Remarks

Note   For Windows, this member is available starting with the WinJS 3.0 library. The WinJS 3.0 library is available via CDN, package manager, or website download but currently not through the Windows Store as a Windows Store framework package.

 

Requirements

Minimum WinJS version

WinJS 3.0

Namespace

WinJS.UI

See also

WinJS.UI.Animation.createPageNavigationAnimation

WinJS.UI.Animation.enterPage

WinJS.UI.Animation.continuumBackwardIn

WinJS.UI.Animation.continuumBackwardOut

WinJS.UI.Animation.continuumForwardIn

WinJS.UI.Animation.continuumForwardOut

WinJS.UI.Animation.slideDown

WinJS.UI.Animation.slideUp

WinJS.UI.Animation.turnstileBackwardIn

WinJS.UI.Animation.turnstileBackwardOut

WinJS.UI.Animation.turnstileForwardIn

WinJS.UI.Animation.turnstileForwardOut