Skip to content

aninest root / AnimatableTypes

AnimatableTypes

A collection of types to support Animatable.

Index

Type Aliases

Type aliasDescription
UnknownAnimationConvenient way to write Animation<UnknownRecursiveAnimatable>. Usually used to cast an animation to this more generic type.
UnknownRecursiveAnimatableConvenient way to write RecursiveAnimatable<unknown>, usually used to extend a 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 local state of the animation, meaning only the numbers in the topmost level of the animation.
LocalAnimatableA local slice of the Animatable type.
PartialRecursiveAnimatableA subtree of the Animatable type.
RecursiveAnimatableThe generic type of the animation state.