AnimationTransitionMetadata

From Get docs
< @angular/animationsAngular/docs/9/api/animations/animationtransitionmetadata


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?: {...}))
  animation: AnimationMetadata | AnimationMetadata[]
  options: AnimationOptions | null

  // inherited from animations/AnimationMetadata
  type: AnimationMetadataType
}

Properties

Property Description
((fromState: string, toState: string, element?: any, params?: { [key: string]: any; }) => boolean) An expression that describes a state change.
AnimationMetadata[] One or more animation objects to which this transition applies.
null An options object containing a delay and developer-defined parameters that provide styling defaults and can be overridden on invocation. Default delay is 0.


© 2010–2020 Google, Inc.
Licensed under the Creative Commons Attribution License 4.0.
https://v9.angular.io/api/animations/AnimationTransitionMetadata