useAnimation
function
Starts a reusable animation that is created using the animation()
function.
API
function useAnimation( animation: AnimationReferenceMetadata, options?: AnimationOptions | null): AnimationAnimateRefMetadata;
Jump to details
Starts a reusable animation that is created using the animation()
function.
function useAnimation( animation: AnimationReferenceMetadata, options?: AnimationOptions | null): AnimationAnimateRefMetadata;