aninest root / ExtensionStack / mountStack
mountStack()
ts
function mountStack<Animating>(stack, anim): unmount
Mounts a stack of extensions to the animation. Returns a function that unmounts all the extensions in the stack.
Type Parameters
• Animating extends RecursiveAnimatable
<unknown
>
Parameters
• stack: ExtensionStack
<Animating
>
• anim: Animation
<Animating
>
Returns
A function that unmounts all the extensions in the stack.