• Overview
@angular/animations

AnimationQueryMetadata

interface
deprecatedsince v20.2

Encapsulates an animation query. Instantiated and returned by the query() function.

Deprecation warning

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

API

    
      interface AnimationQueryMetadata extends AnimationMetadata {}
    
    

selector

string

The CSS selector for this query.

animation

AnimationMetadata | AnimationMetadata[]

One or more animation step objects.

options

AnimationQueryOptions | null

A query options object.

Jump to details