@angular/animations

state

function

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

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