Skip to main content

Posts

Showing posts with the label AnimationOptions

AnimationOptions and Interfaces in Angular 4/5

What Is AnimationOptions in Angular 4 and 5? The AnimationOptions is used to configure or override options for each of the step based animation methods. These step based support various animation methods that cab be see in the below example. 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 Animation Options imported from @angular/animations module and its looks like - import { AnimationOptions } from '@angular/animations' ; These DSL function looks like - ü   transition([...], { /* options */ }) ü   sequence([...], { /* options */ }) ü   group([...], { /* options */ }) ü   query([...], { /* options */ }) ü   animation([...], { /* options */ }) ü   useAnimation([...], { /* options */ }) ü   animateChild([...], { /* options */ }) Example as - @ Component ({   anima...