Cookies concent notice

This site uses cookies from Google to deliver its services and to analyze traffic.
Learn more
Skip to main content
Say hello to Angular's future home!Check out Angular.devHome
/

AnimationAnimateRefMetadata

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.

options: AnimationOptions | 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.