@microsoft/fast-animation > AnimateSequence
AnimateSequence class
Animate a collection of AnimateTo and AnimateFrom in sequence.
Signature:declare class AnimateSequence
Constructors
| Constructor | Modifiers | Description |
|---|---|---|
| (constructor)(animations) | Constructs a new instance of the AnimateSequence class |
Properties
| Property | Modifiers | Type | Description |
|---|---|---|---|
| cancel | () => void | Cancels all animations in the sequence | |
| finish | () => void | Finishes all animations in the sequence | |
| onFinish | () => void | onFinish callback method | |
| pause | () => void | Pauses all animations in the sequence | |
| play | () => void | Play the sequence of animations | |
| reverse | () => void | Play the sequence in reverse |