Skip to content

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

unmount

A function that unmounts all the extensions in the stack.

Defined in

Animate/ExtensionStack.ts:63