Skip to content

aninest root / AnimatableEvents / AnimatableListener

AnimatableListener<Animating, Event>

ts
type AnimatableListener<Animating, Event>: Event extends AnimatableEventsWithValue ? Listener<Partial<LocalAnimatable<Animating>>> : Listener<undefined>;

Listens to the animation for a specific event. All events aside from update return a dictionary of local values which are currently being animated.

Type Parameters

Animating extends UnknownRecursiveAnimatable

Event extends AnimatableEvents

Defined in

Animate/AnimatableEvents.ts:201