keyframes()

keyframes

Experimental Function

Class Export

export keyframes(steps: AnimationStyleMetadata[]) : AnimationKeyframesSequenceMetadata

keyframes 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.

keyframes specifies a collection of style entries each optionally characterized by an offset value.

Usage

The keyframes<