Skip to content

aninest root / AnimatableEvents / INTERRUPT

INTERRUPT

ts
const INTERRUPT: "interrupt" = "interrupt";

Broadcasts when a new target state is set while the animation is not at its resting state yet. This event is useful for reverting any changes made to the animation state before continuing the animation. See the momentum extension for an example of this.

Defined in

Animate/AnimatableEvents.ts:59