AnimationAnimateRefMetadata

From Get docs
< @angular/animationsAngular/docs/11/api/animations/animationanimaterefmetadata


AnimationAnimateRefMetadata

interface

Encapsulates a reusable animation. Instantiated and returned by the useAnimation() function.

interface AnimationAnimateRefMetadata extends AnimationMetadata {
  animation: AnimationReferenceMetadata
  options: AnimationOptions | null

  // inherited from animations/AnimationMetadata
  type: AnimationMetadataType
}

Properties

Property Description
animation: AnimationReferenceMetadata An animation reference object.
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–2021 Google, Inc.
Licensed under the Creative Commons Attribution License 4.0.
https://v11.angular.io/api/animations/AnimationAnimateRefMetadata