aninest-root / ExtensionStack
ExtensionStack
A stack of extensions that can be mounted to an animation.
Functions
| Function | Description |
|---|---|
| addLayerToStack | A passthrough function that adds a layer to the stack and returns the layer. |
| createExtensionStack | Creates an empty stack of extensions. |
Extensions
| Name | Description |
|---|---|
| ExtensionStack | A list of extensions which will be mounted to an animation in order. |
| addExtensionToStack | Adds an extension to the stack. |
| mountStack | Mounts a stack of extensions to the animation. Returns a function that unmounts all the extensions in the stack. |