Documentation / scene / AnimationControllerEventMap
Type Alias: AnimationControllerEventMap
AnimationControllerEventMap =
object
Defined in: libs/scene/src/animation/animationcontroller.ts:73
Event map emitted by AnimationController.
Properties
statechange
statechange: [
string|null,string|null]
Defined in: libs/scene/src/animation/animationcontroller.ts:80
Emitted after the current state changes.
The first argument is the new state name, or null when stopped. The second argument is the previous state name, or null when there was no previous state.
statecomplete
statecomplete: [
string]
Defined in: libs/scene/src/animation/animationcontroller.ts:84
Emitted when the active state's timeline runner drains all main, concurrent, and queued work.
emit
emit: [
string,unknown]
Defined in: libs/scene/src/animation/animationcontroller.ts:86
Forwarded from the active state's timeline runner, so listeners need not rebind per state.
event
event: [
string,unknown,AnimationTimelineEventResult]
Defined in: libs/scene/src/animation/animationcontroller.ts:90
Emitted for every call to AnimationController.dispatch with the resolved event result.