Winter Cardinal UI - v0.457.0 / DAnimationEmpty
| Name | Type |
|---|---|
TARGET |
unknown |
EventEmitter
↳ DAnimationEmpty
DAnimation<TARGET>• new DAnimationEmpty<TARGET>(options?): DAnimationEmpty<TARGET>
| Name | Type |
|---|---|
TARGET |
unknown |
| Name | Type |
|---|---|
options? |
DAnimationOptions<TARGET, DAnimation<TARGET>> |
DAnimationEmpty<TARGET>
utils.EventEmitter.constructor
src/main/typescript/wcardinal/ui/d-animation-empty.ts:20
• Protected _isStarted: boolean
src/main/typescript/wcardinal/ui/d-animation-empty.ts:18
• Protected _onEnd: undefined | DAnimationOnEnd<TARGET>
src/main/typescript/wcardinal/ui/d-animation-empty.ts:16
• Protected _onStart: undefined | DAnimationOnEnd<TARGET>
src/main/typescript/wcardinal/ui/d-animation-empty.ts:15
• Protected _onTime: undefined | DAnimationOnTime<TARGET>
src/main/typescript/wcardinal/ui/d-animation-empty.ts:14
• Protected _reverse: boolean
src/main/typescript/wcardinal/ui/d-animation-empty.ts:13
• Protected _target: null | TARGET
src/main/typescript/wcardinal/ui/d-animation-empty.ts:17
• get duration(): number
An animation duration.
number
src/main/typescript/wcardinal/ui/d-animation-empty.ts:39
• set duration(duration): void
An animation duration.
| Name | Type |
|---|---|
duration |
number |
void
src/main/typescript/wcardinal/ui/d-animation-empty.ts:43
• get target(): null | TARGET
An animation target.
null | TARGET
src/main/typescript/wcardinal/ui/d-animation-empty.ts:31
• set target(target): void
An animation target.
| Name | Type |
|---|---|
target |
null | TARGET |
void
src/main/typescript/wcardinal/ui/d-animation-empty.ts:35
▸ addListener(event, fn, context?): this
Alias method for on
| Name | Type |
|---|---|
event |
string | symbol |
fn |
Function |
context? |
any |
this
utils.EventEmitter.addListener
node_modules/pixi.js/pixi.js.d.ts:25495
▸ emit(event, ...args): boolean
Calls each of the listeners registered for a given event.
| Name | Type | Description |
|---|---|---|
event |
string | symbol |
The event name. |
...args |
any[] |
Arguments that are passed to registered listeners |
boolean
true if the event had listeners, else false.
utils.EventEmitter.emit
node_modules/pixi.js/pixi.js.d.ts:25441
▸ end(): void
Moves an animation frame to the end.
void
src/main/typescript/wcardinal/ui/d-animation-empty.ts:109
▸ eventNames(): (string | symbol)[]
Return an array listing the events for which the emitter has registered listeners.
(string | symbol)[]
utils.EventEmitter.eventNames
node_modules/pixi.js/pixi.js.d.ts:25415
▸ isReverse(): boolean
Returns true if an animation is in a reverse mode.
boolean
src/main/typescript/wcardinal/ui/d-animation-empty.ts:101
▸ isStarted(): boolean
Returns true if an animation is playing.
boolean
src/main/typescript/wcardinal/ui/d-animation-empty.ts:97
▸ listenerCount(event): number
Return the number of listeners listening to a given event.
| Name | Type | Description |
|---|---|---|
event |
string | symbol |
The event name. |
number
utils.EventEmitter.listenerCount
node_modules/pixi.js/pixi.js.d.ts:25432
▸ listeners(event): Function[]
Return the listeners registered for a given event.
| Name | Type | Description |
|---|---|---|
event |
string | symbol |
The event name. |
Function[]
utils.EventEmitter.listeners
node_modules/pixi.js/pixi.js.d.ts:25424
▸ off(event, fn?, context?, once?): this
Alias method for removeListener
| Name | Type |
|---|---|
event |
string | symbol |
fn? |
Function |
context? |
any |
once? |
boolean |
this
utils.EventEmitter.off
node_modules/pixi.js/pixi.js.d.ts:25489
▸ on(event, fn, context?): this
Add a listener for a given event.
| Name | Type | Description |
|---|---|---|
event |
string | symbol |
The event name. |
fn |
Function |
The listener function. |
context? |
any |
The context to invoke the listener with. |
this
this.
utils.EventEmitter.on
node_modules/pixi.js/pixi.js.d.ts:25452
▸ onEnd(isReverse): void
| Name | Type |
|---|---|
isReverse |
boolean |
void
src/main/typescript/wcardinal/ui/d-animation-empty.ts:89
▸ onStart(isReverse): void
| Name | Type |
|---|---|
isReverse |
boolean |
void
src/main/typescript/wcardinal/ui/d-animation-empty.ts:73
▸ onTime(time, isReverse, elapsedTime): void
| Name | Type |
|---|---|
time |
number |
isReverse |
boolean |
elapsedTime |
number |
void
src/main/typescript/wcardinal/ui/d-animation-empty.ts:81
▸ once(event, fn, context?): this
Add a one-time listener for a given event.
| Name | Type | Description |
|---|---|---|
event |
string | symbol |
The event name. |
fn |
Function |
The listener function. |
context? |
any |
The context to invoke the listener with. |
this
this.
utils.EventEmitter.once
node_modules/pixi.js/pixi.js.d.ts:25463
▸ removeAllListeners(event?): this
Remove all listeners, or those of the specified event.
| Name | Type | Description |
|---|---|---|
event? |
string | symbol |
The event name. |
this
this.
utils.EventEmitter.removeAllListeners
node_modules/pixi.js/pixi.js.d.ts:25483
▸ removeListener(event, fn?, context?, once?): this
Remove the listeners of a given event.
| Name | Type | Description |
|---|---|---|
event |
string | symbol |
The event name. |
fn? |
Function |
Only remove the listeners that match this function. |
context? |
any |
Only remove the listeners that have this context. |
once? |
boolean |
Only remove one-time listeners. |
this
this.
utils.EventEmitter.removeListener
node_modules/pixi.js/pixi.js.d.ts:25475
▸ start(reverse?): void
Starts an animation.
| Name | Type | Default value | Description |
|---|---|---|---|
reverse |
boolean |
false |
true to play in reverse. |
void
src/main/typescript/wcardinal/ui/d-animation-empty.ts:47
▸ stop(): void
Stops an animation as is.
void