• Overview
@angular/animations

AnimationTransitionMetadata

interface

Encapsulates an animation transition. Instantiated and returned by the transition() function.

  
    interface AnimationTransitionMetadata extends AnimationMetadata {}
  
  

expr

string | ((fromState: string, toState: string, element?: any, params?: { [key: string]: any; } | undefined) => boolean)

An expression that describes a state change.

One or more animation objects to which this transition applies.

options

An options object containing a delay and developer-defined parameters that provide styling defaults and can be overridden on invocation. Default delay is 0.

Jump to details