WinJS.UI.Animation Namespace

1 out of 2 rated this helpful - Rate this topic

Provides access to the Windows animations. These functions provide developers with the ability to use animations in their custom controls that are consistent with animations used by Windows controls.

The WinJS.UI.Animation namespace has these types of members:

Functions

FunctionDescription

createAddToListAnimation

Creates an object that performs an animation that adds an item or items to a list.

createAddToSearchListAnimation

Creates an object that performs an animation that adds an item or items to a list of search results.

createCollapseAnimation

Creates an object that performs an animation that collapses a list.

createDeleteFromListAnimation

Creates an object that performs an animation that removes an item or items from a list.

createDeleteFromSearchListAnimation

Creates an object that performs an animation that removes an item or items from a list of search results.

createExpandAnimation

Creates an object that performs an animation that expands a list.

createPeekAnimation

Creates an object that performs a peek animation.

createRepositionAnimation

Creates an object that performs an animation that moves an item or items.

crossFade

Performs an animation that fades an item or items in, fading out existing items that occupy the same space.

dragBetweenEnter

Performs an animation when a dragged object is moved such that dropping it in that position would move other items. The potentially affected items are animated out of the way to show where the object would be dropped.

dragBetweenLeave

Performs an animation when a dragged object is moved away from items that it had previously involved in a dragBetweenEnter animation. The affected objects are animated back to their original positions.

dragSourceEnd

Performs an animation when the user finishes dragging an object.

dragSourceStart

Performs an animation when the user begins to drag an object.

enterContent

Performs an animation that displays one or more elements on a page.

enterPage

Performs an animation that shows a new page of content, either when transitioning between pages in a running app or when displaying the first content in a newly launched app.

exitContent

Performs an animation that hides one or more elements on a page.

exitPage

Performs an animation that dismisses the current page when transitioning between pages in an app.

fadeIn

Performs an animation that fades an item or set of items into view.

fadeOut

Performs an animation that fades an item or set of items out of view.

hideEdgeUI

Performs an animation that hides edge-based user interface (UI).

hidePanel

Performs an animation that hides a panel.

hidePopup

Performs an animation that removes pop-up user interface (UI).

pointerDown

Performs an animation when a pointer is pressed on an object.

pointerUp

Performs an animation when a pointer is released.

showEdgeUI

Performs an animation that slides a narrow, edge-based user interface (UI) into view.

showPanel

Performs an animation that slides a large panel user interface (UI) into view.

showPopup

Performs an animation that displays a pop-up user interface (UI).

swipeDeselect

Performs a deselection animation in response to a swipe interaction.

swipeReveal

Performs an animation that reveals an item or items in response to a swipe interaction.

swipeSelect

Performs a selection animation in response to a swipe interaction.

updateBadge

Performs an animation that updates a badge.

 

Requirements

Minimum supported client

Windows 8 [Windows Store apps only]

Minimum supported server

Windows Server 2012 [Windows Store apps only]

See also

Animating your UI
HTML animation library sample

 

 

Build date: 12/5/2012

Did you find this helpful?
(1500 characters remaining)
© 2013 Microsoft. All rights reserved.