@angular/animations

transition

function

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

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