W3cubDocs

/Angular 2

AnimationStyleMetadata

Experimental Class

Class Overview

class AnimationStyleMetadata extends AnimationMetadata {
  constructor(styles: Array<string|{[key: string]: string | number}>, offset?: number)
  
  
  styles : Array<string|{[key: string]: string | number}>
  offset : number
}

Class Description

Metadata representing the entry of animations. Instances of this class are provided via the animation DSL when the style animation function is called.

Constructor

constructor(styles: Array<string|{[key: string]: string | number}>, offset?: number)

Class Details

styles : Array<string|{[key: string]: string | number}>
offset : number

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

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