W3cubDocs

/Angular 2

AnimationStateDeclarationMetadata

Experimental Class

Class Overview

class AnimationStateDeclarationMetadata extends AnimationStateMetadata {
  constructor(stateNameExpr: string, styles: AnimationStyleMetadata)
  
  
  stateNameExpr : string
  styles : AnimationStyleMetadata
}

Class Description

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

Constructor

constructor(stateNameExpr: string, styles: AnimationStyleMetadata)

Class Details

stateNameExpr : string
styles : AnimationStyleMetadata

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/AnimationStateDeclarationMetadata-class.html