AnimationQueryOptions

interface experimental

npm Package @angular/animations
Module import { AnimationQueryOptions } from '@angular/animations';
Source animations/src/animation_metadata.ts

Interface Overview

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

Description

Metadata representing the entry of animations. Instances of this interface are provided via the animation DSL when the query animation function is called.

Members

optional?: boolean

limit?: number

Used to limit the total amount of results from the start of the query list.

If a negative value is provided then the queried results will be limited from the end of the query list towards the beginning (e.g. if limit: -3 is used then the final 3 (or less) queried results will be used for the animation).

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