@angular/animations

transition

function

Declares an animation transition which is played when a certain specified condition is met.

  
    transition(  stateChangeExpr: string | ((fromState: string, toState: string, element?: any, params?: { [key: string]: any; }) => boolean),  steps: AnimationMetadata | AnimationMetadata[],  options?: AnimationOptions): AnimationTransitionMetadata;
  
  
Jump to details