Skip to content

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

unmount

A function that unmounts an extension from the animation.

Defined in

Animate/Extension.ts:38