angular / 5 / api / animations / animationstatemetadata.html

AnimationStateMetadata

interface experimental

Interface Overview

interface AnimationStateMetadata extends AnimationMetadata { 
  name: string
  styles: AnimationStyleMetadata
  options?: {...}
}

Description

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

Members

name: string

styles: AnimationStyleMetadata

options?: { params: { [name: string]: any; }; }

© 2010–2018 Google, Inc.
Licensed under the Creative Commons Attribution License 4.0.
https://v5.angular.io/api/animations/AnimationStateMetadata