linkAnimationOptions
npm Package | @angular/animations |
---|---|
Module | import { AnimationOptions } from '@angular/animations'; |
Source | animations/src/animation_metadata.ts |
linkInterface Overview
interface AnimationOptions {
delay?: number | string
params?: {...}
}
linkDescription
AnimationOptions
represents options that can be passed into most animation DSL methods.
When options are provided, the delay value of an animation can be changed and animation input
parameters can be passed in to change styling and timing data when an animation is started.
The following animation DSL functions are able to accept animation option data:
Programmatic animations built using the AnimationBuilder service also make use of AnimationOptions.