aninest-root / AnimatableTypes
AnimatableTypes
A collection of types to support Animatable.
Type Aliases
Type Alias | Description |
---|---|
AnimatableOf | Lets you get the Animatable type out of the Animation type. |
AnimationWithoutChildren | The local animation object. This is a recursive type, meaning that it can contain other animations. |
UnknownAnimatable | Convenient way to write `Animatable<unknown>`, usually used to extend a generic type. |
UnknownAnimation | Convenient way to write Animation<UnknownRecursiveAnimatable> . Usually used to cast an animation to this more 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 generic type of the animation state. |
LocalAnimatable | The local state of the animation, meaning only the numbers in the topmost level of the animation. |
PartialRecursiveAnimatable | A subtree of the Animatable type. |
SlicedAnimatable | A local slice of the Animatable type. |