style()

style

Experimental Function

Class Export

export style(tokens: string | {[key: string]: string | number} |
    Array<string|{[key: string]: string | number}>) : AnimationStyleMetadata

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

style declares a key/value object containing CSS properties/styles that can then be used for animation states, wi