W3cubDocs

/Angular 2

AnimationStyles

Experimental Class

Class Overview

class AnimationStyles {
  constructor(styles: {[key: string]: string | number}[])
  
  
  styles : {[key: string]: string | number}[]
}

Class Description

AnimationStyles consists of a collection of key/value maps containing CSS-based style data that can either be used as initial styling data or apart of a series of keyframes within an animation. This class is mostly internal, and it is designed to be used alongside AnimationKeyframe and Renderer.animate.

Constructor

constructor(styles: {[key: string]: string | number}[])

Class Details

styles : {[key: string]: string | number}[]

exported from @angular/core/index, defined in @angular/core/src/animation/animation_styles.ts

© 2010–2017 Google, Inc.
Licensed under the Creative Commons Attribution License 4.0.
https://v2.angular.io/docs/ts/latest/api/core/index/AnimationStyles-class.html