This is the archived documentation for Angular v5. Please visit angular.io to see documentation for the current version of Angular.

AnimationStateMetadata

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?: {...}
}
    

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
    


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