animate()

animate

Experimental Function

Class Export

export animate(timing: string | number, styles?: AnimationStyleMetadata | AnimationKeyframesSequenceMetadata) : AnimationAnimateMetadata

animate is an animation-specific function that is designed to be used inside of Angular2's animation DSL language. If this information is new, please navigate to the component animations metadata page to gain a better understanding of how animations in Angular2 are used.

animate specifies an animation step that will apply the provided styles data for a given amount of time based on the provided timi