@angular/animations

state

function

Declares an animation state within a trigger attached to an element.

  
    state(  name: string,  styles: AnimationStyleMetadata,  options?: { params: { [name: string]: any; }; }): AnimationStateMetadata;
  
  
Jump to details