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