W3cubDocs

/Angular

AnimationQueryMetadata

interface

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.

© 2010–2023 Google, Inc.
Licensed under the Creative Commons Attribution License 4.0.
https://angular.io/api/animations/AnimationQueryMetadata