CssAnimationOptions

export class CssAnimationOptions

exported from angular2/animate defined in angular2/src/animate/css_animation_options.ts (line 1)

Members

fromStyles : {[key: string]: any}

initial styles for the element

toStyles : {[key: string]: any}

destination styles for the element

classesToAdd : string[]

classes to be added to the element

classesToRemove : string[]

classes to be removed from the element

animationClasses : string[]

classes to be added for the duration of the animation

duration : number

override the duration of the animation (in milliseconds)

delay : number

override the transition delay (in milliseconds)