WinJS.UI.Animation.slideUp function

Applies to Windows Phone only

Slides elements up into view from the bottom of the screen.

Syntax


WinJS.UI.Animation.slideUp(incoming).done( /* Your success and error handlers */ );

Parameters

incoming

Type: Object

Single element or an array of elements that represent the content. If an array of elements, the elements enter in array order.

Return value

Type: Promise

An object that returns when the animation has finished.

Remarks

The 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

slideDown
slideRightIn
slideLeftIn

 

 

Show:
© 2014 Microsoft