Skip to content

aninest-root / AnimatableTypes

AnimatableTypes

A collection of types to support Animatable.

Type Aliases

Type AliasDescription
AnimatableOfLets you get the Animatable type out of the Animation type.
AnimationWithoutChildrenThe local animation object. This is a recursive type, meaning that it can contain other animations.
UnknownAnimatableConvenient way to write `Animatable<unknown>`, usually used to extend a generic type.
UnknownAnimationConvenient way to write Animation<UnknownRecursiveAnimatable>. Usually used to cast an animation to this more generic type.
unsubscribeGeneric unsubscribe function which will remove event listeners.

Construction

Type AliasDescription
AnimationThe animation object. This is a recursive type, meaning that it can contain other animations.

State Types

Type AliasDescription
AnimatableThe generic type of the animation state.
LocalAnimatableThe local state of the animation, meaning only the numbers in the topmost level of the animation.
PartialRecursiveAnimatableA subtree of the Animatable type.
SlicedAnimatableA local slice of the Animatable type.