@microsoft/fast-animation > AnimateGroup
AnimateGroup class
Groups AnimateTo and AnimateFrom instances, providing a single API to operate on all of them.
Signature:declare class AnimateGroup 
Constructors
| Constructor | Modifiers | Description | 
|---|---|---|
| (constructor)(animations) | Constructs a new instance of the AnimateGroupclass | 
Properties
| Property | Modifiers | Type | Description | 
|---|---|---|---|
| cancel | () => void | Cancels all animations in the group | |
| finish | () => void | Finishes all animations in the group | |
| onFinish | () => void | The onFinish callback. | |
| pause | () => void | Pauses all animations in the group | 
Methods
| Method | Modifiers | Description | 
|---|---|---|
| play() | Play the group of animations | |
| reverse() | Reverses all animations in the group |