Winter Cardinal UI - v0.457.0 / DAnimationEvents
DAnimation events.
| Name |
|---|
EMITTER |
▸ end(isReverse, emitter): void
Triggered when an animation ends.
| Name | Type | Description |
|---|---|---|
isReverse |
boolean |
true if an animation is playing in reverse |
emitter |
EMITTER |
an emitter |
void
src/main/typescript/wcardinal/ui/d-animation.ts:84
▸ start(isReverse, emitter): void
Triggered when an animation starts.
| Name | Type | Description |
|---|---|---|
isReverse |
boolean |
true if an animation is playing in reverse |
emitter |
EMITTER |
an emitter |
void
src/main/typescript/wcardinal/ui/d-animation.ts:66
▸ stop(isReverse, emitter): void
Triggered when an animation stops.
| Name | Type | Description |
|---|---|---|
isReverse |
boolean |
true if an animation is playing in reverse |
emitter |
EMITTER |
an emitter |
void
src/main/typescript/wcardinal/ui/d-animation.ts:92
▸ time(time, isReverse, elapsedTime, emitter): void
Triggered constantly when an animation is on a run.
| Name | Type | Description |
|---|---|---|
time |
number |
a timing value in a range [0, 1] |
isReverse |
boolean |
true if an animation is playing in reverse |
elapsedTime |
number |
an elapsed time since an animation has started |
emitter |
EMITTER |
an emitter |
void