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



Encapsulates a reusable animation, which is a collection of individual animation steps. Instantiated and returned by the animation() function, and passed to the useAnimation() function.

interface AnimationReferenceMetadata extends AnimationMetadata {
  animation: AnimationMetadata | AnimationMetadata[]
  options: AnimationOptions | null

  // inherited from animations/AnimationMetadata
  type: AnimationMetadataType


Property Description
AnimationMetadata[] One or more animation step objects.
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.