WinJS.UI.Animation

WinJS.UI.Animation Namespace

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

In this section

TopicDescription

createAddToListAnimation function

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

createAddToSearchListAnimation function

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

createCollapseAnimation function

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

createDeleteFromListAnimation function

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

createDeleteFromSearchListAnimation function

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

createExpandAnimation function

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

createPeekAnimation function

Creates an object that performs a peek animation.

createRepositionAnimation function

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

crossFade function

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

dragBetweenEnter function

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 function

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 function

Performs an animation when the user finishes dragging an object.

dragSourceStart function

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

enterContent function

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

enterPage function

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 function

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

exitPage function

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

fadeIn function

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

fadeOut function

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

hide function

Performs an animation that hides user interface (UI) in response to a touch or click.

hideEdgeUI function

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

hidePanel function

Performs an animation that hides a panel.

hidePopup function

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

pointerDown function

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

pointerUp function

Performs an animation when a pointer is released.

reveal function

Performs an animation that reveals content in response to a tap or click.

showEdgeUI function

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

showPanel function

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

showPopup function

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

swipeDeselect function

Performs a deselection animation in response to a swipe interaction.

swipeReveal function

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

swipeSelect function

Performs a selection animation in response to a swipe interaction.

updateBadge function

Performs an animation that updates a badge.

 

Related topics

Animating your UI with the Animation Library
Using the Animation Library animations sample

 

 

Ajouts de la communauté

AJOUTER
Afficher:
© 2016 Microsoft