Cookies concent notice

This site uses cookies from Google to deliver its services and to analyze traffic.
Learn more
Skip to main content
This site is no longer updated.Head to Angular.devHome
/

This is the archived documentation for Angular v17. Please visit angular.dev to see this page for the current version of Angular.

AnimationQueryMetadata

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

      
      interface AnimationQueryMetadata extends AnimationMetadata {
  selector: string
  animation: AnimationMetadata | AnimationMetadata[]
  options: AnimationQueryOptions | null

  // inherited from animations/AnimationMetadata
  type: AnimationMetadataType
}
    

Properties

Property Description
selector: string

The CSS selector for this query.

animation: AnimationMetadata | AnimationMetadata[]

One or more animation step objects.

options: AnimationQueryOptions | null

A query options object.