useAnimation
function
stable
Starts a reusable animation that is created using the animation() function.
API
function useAnimation( animation: AnimationReferenceMetadata, options?: AnimationOptions | null): AnimationAnimateRefMetadata;
useAnimation
Starts a reusable animation that is created using the animation() function.
@paramoptions
AnimationOptions | nullAn options object that can contain a delay value for the start of the animation, and additional override values for developer-defined parameters.
@returns
AnimationAnimateRefMetadataJump to details