Help Angular by taking a 1 minute survey!Go to surveyHome

AnimationQueryOptions

Encapsulates animation query options. Passed to the query() function.

      
      interface AnimationQueryOptions extends AnimationOptions {
  optional?: boolean
  limit?: number

  // inherited from animations/AnimationOptions
  delay?: number | string
  params?: {...}
}
    

Properties

Property Description
optional?: boolean

True if this query is optional, false if it is required. Default is false. A required query throws an error if no elements are retrieved when the query is executed. An optional query does not.

limit?: number

A maximum total number of results to return from the query. If negative, results are limited from the end of the query list towards the beginning. By default, results are not limited.