WinJS.UI.Animation.slideRightIn function

Applies to Windows Phone only

Slides elements in from the right side of the screen.

Syntax


WinJS.UI.Animation.slideRightIn(page, firstIncomingElements, secondIncomingElements, thirdIncomingElements).done( /* Your success and error handlers */ );

Parameters

page

Type: Object

A page that contains all of the elements to slide in.

firstIncomingElements

Type: Object

A single element or an array of elements to slide in first. If this is an array of elements, all elements enter at once.

secondIncomingElements

Type: Object

A single element or an array of elements to slide in once the firstIncomingElements are in place. If this is an array of elements, all elements enter at once. These elements are offset slightly more than the firstIncomingElements.

thirdIncomingElements

Type: Object

A single element or an array of elements to slide in once the secondIncomingElements are in place. If this is an array of elements, all elements enter at once. These elements are offset slightly more than the secondIncomingElements.

Return value

Type: Promise

An object that returns when the animation has finished.

Remarks

The firstIncomingElements, secondIncomingElements, and thirdIncomingElements 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

Requirements

Minimum supported client

None supported [Windows Store apps only]

Minimum supported server

None supported [Windows Store apps only]

Minimum supported phone

Windows Phone 8.1

Namespace

WinJS.UI.Animation

Library

Ui.js

See also

slideRightOut
slideLeftIn
slideUp

 

 

Show:
© 2014 Microsoft