AnimationOptions

interface experimental

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

Interface Overview

interface AnimationOptions { 
  delay?: number | string
  params?: {...}
}

Description

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.

Child Interfaces

  • AnimateChildOptions
  • AnimationQueryOptions

Members

delay?: number | string

params?: { [name: string]: any; }

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