W3cubDocs

/Angular 11

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–2021 Google, Inc.
Licensed under the Creative Commons Attribution License 4.0.
https://v11.angular.io/api/animations/AnimationQueryMetadata