aninest root / Extension / mountExtension
mountExtension()
ts
function mountExtension<Animating>(extension, anim): unmount
A function that mounts an extension to the animation.
Type Parameters
• Animating extends RecursiveAnimatable
<unknown
>
Parameters
• extension: Extension
<Animating
>
• anim: Animation
<Animating
>
Returns
A function that unmounts an extension from the animation.