aninest root / AnimatableTypes
AnimatableTypes
A collection of types to support Animatable.
Index
Type Aliases
Type alias | Description |
---|---|
UnknownAnimation | Convenient way to write Animation<UnknownRecursiveAnimatable> . Usually used to cast an animation to this more generic type. |
UnknownRecursiveAnimatable | Convenient way to write RecursiveAnimatable<unknown> , usually used to extend a generic type. |
unsubscribe | Generic unsubscribe function which will remove event listeners. |
Construction
Type alias | Description |
---|---|
Animation | The animation object. This is a recursive type, meaning that it can contain other animations. |
State Types
Type alias | Description |
---|---|
Animatable | The local state of the animation, meaning only the numbers in the topmost level of the animation. |
LocalAnimatable | A local slice of the Animatable type. |
PartialRecursiveAnimatable | A subtree of the Animatable type. |
RecursiveAnimatable | The generic type of the animation state. |