• Overview
@angular/animations

AnimationMetadataType

enum
deprecatedsince v20.2

Constants for the categories of parameters that can be defined for animations.

Deprecation warning

Use animate.enter or animate.leave instead. Intent to remove in v23

API

    
      enum AnimationMetadataType {}
    
    

State

Associates a named animation state with a set of CSS styles. See state()

Transition

Data for a transition from one animation state to another. See transition()

Sequence

Contains a set of animation steps. See sequence()

Group

Contains a set of animation steps. See group()

Animate

Contains an animation step. See animate()

Keyframes

Contains a set of animation steps. See keyframes()

Style

Contains a set of CSS property-value pairs into a named style. See style()

Trigger

Associates an animation with an entry trigger that can be attached to an element. See trigger()

Reference

Contains a re-usable animation. See animation()

AnimateChild

Contains data to use in executing child animations returned by a query. See animateChild()

AnimateRef

Contains animation parameters for a re-usable animation. See useAnimation()

Query

Contains child-animation query data. See query()

Stagger

Contains data for staggering an animation sequence. See stagger()

Description

Constants for the categories of parameters that can be defined for animations.

A corresponding function defines a set of parameters for each category, and collects them into a corresponding AnimationMetadata object.

Jump to details