AnimationStateMetadata

interface experimental

npm Package @angular/animations
Module import { AnimationStateMetadata } from '@angular/animations';
Source animations/src/animation_metadata.ts

Interface Overview

interface AnimationStateMetadata extends AnimationMetadata { 
  name: string
  styles: AnimationStyleMetadata
  options?: {params: {[name: string]: any}}
}

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–2017 Google, Inc.
Licensed under the Creative Commons Attribution License 4.0.
https://v4.angular.io/api/animations/AnimationStateMetadata