W3cubDocs

/Angular 10

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