W3cubDocs

/Angular 4 TypeScript

AnimationTransitionMetadata

Experimental Interface

Interface Overview

interface AnimationTransitionMetadata extends AnimationMetadata {
  expr : string|((fromState: string, toState: string) => boolean)
  animation : AnimationMetadata|AnimationMetadata[]
}

Interface Description

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

Interface Details

expr : string|((fromState: string, toState: string) => boolean)
animation : AnimationMetadata|AnimationMetadata[]

exported from animations/index, defined in animations/src/animation_metadata.ts

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