aninest-root / ExtensionStack / mountStack
mountStack()
ts
function mountStack<Animating>(stack, anim): unsubscribe;
Defined in: Animate/ExtensionStack.ts:64
Mounts a stack of extensions to the animation. Returns a function that unmounts all the extensions in the stack.
Type Parameters
Animating
Animating
extends Animatable
<unknown
>
Parameters
stack
ExtensionStack
<Animating
>
anim
Animation
<Animating
>
Returns
A function that unmounts all the extensions in the stack.