enum
Constants for the categories of parameters that can be defined for animations.
enum AnimationMetadataType { State: 0 Transition: 1 Sequence: 2 Group: 3 Animate: 4 Keyframes: 5 Style: 6 Trigger: 7 Reference: 8 AnimateChild: 9 AnimateRef: 10 Query: 11 Stagger: 12 }
A corresponding function defines a set of parameters for each category, and collects them into a corresponding AnimationMetadata
object.
Member | Description |
---|---|
State: 0 | Associates a named animation state with a set of CSS styles. See |
Transition: 1 | Data for a transition from one animation state to another. See |
Sequence: 2 | Contains a set of animation steps. See |
Group: 3 | Contains a set of animation steps. See |
Animate: 4 | Contains an animation step. See |
Keyframes: 5 | Contains a set of animation steps. See |
Style: 6 | Contains a set of CSS property-value pairs into a named style. See |
Trigger: 7 | Associates an animation with an entry trigger that can be attached to an element. See |
Reference: 8 | Contains a re-usable animation. See |
AnimateChild: 9 | Contains data to use in executing child animations returned by a query. See |
AnimateRef: 10 | Contains animation parameters for a re-usable animation. See |
Query: 11 | Contains child-animation query data. See |
Stagger: 12 | Contains data for staggering an animation sequence. See |
© 2010–2021 Google, Inc.
Licensed under the Creative Commons Attribution License 4.0.
https://v12.angular.io/api/animations/AnimationMetadataType