共用方式為


WinJS.UI.Animation.continuumForwardIn function

Scales up an incoming page while scaling, rotating (clockwise), and translating an incoming item into place.

Syntax

WinJS.UI.Animation.continuumForwardIn(incomingPage, incomingItemRoot, incomingItemContent).done( /* Your success and error handlers */ );

Parameters

  • incomingPage
    Type: Object

    A single element to be scaled up that is the page root and does not contain the incoming item.

  • incomingItemRoot
    Type: Object

    The root of the item. This is translated during the continuum animation.

  • incomingItemContent
    Type: Object

    The content of the item. This is scaled and rotated during the continuum animation.

Return value

Type: Promise**

An object that returns when the animation has finished.

Remarks

The incomingPage, incomingItemRoot, and incomingItemContent parameters of this function can be expressed in several ways:

  • As the special value "undefined", which means that the animation has no such target
  • As a single object
  • As a JavaScript array (possibly empty), in which each element of the array can be a single element or a JavaScript array of elements.
  • As a NodeList (for example, the result of querySelectorAll)
  • As an HTMLCollection

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 1.0

Namespace

WinJS.UI.Animation

See also

continuumForwardOut

continuumBackwardIn