AnimationAnimateRefMetadata
interface
deprecatedsince v20.2
Encapsulates a reusable animation.
Instantiated and returned by the useAnimation() function.
Deprecation warning
API
interface AnimationAnimateRefMetadata extends AnimationMetadata { animation: AnimationReferenceMetadata; options: AnimationOptions | null; override type: AnimationMetadataType;}
animation
AnimationReferenceMetadataAn animation reference object.
options
AnimationOptions | nullAn 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