Interface: EventTarget
Defined in: types/desktop-engine.d.ts:3932
Listeners of an event type are called in the order they were added, after the on<type> handler; a listener that throws is reported like an uncaught exception without stopping the others
Extended by
Methods
addEventListener()
ts
addEventListener(
type,
listener,
options?
): void;Defined in: types/desktop-engine.d.ts:3934
A boolean options (capture) is ignored
Parameters
| Parameter | Type |
|---|---|
type | string |
listener | | EventListenerOrEventListenerObject | null |
options? | | boolean | AddEventListenerOptions |
Returns
void
dispatchEvent()
ts
dispatchEvent(event): boolean;Defined in: types/desktop-engine.d.ts:3937
Returns false when a listener called preventDefault() on a cancelable event
Parameters
| Parameter | Type |
|---|---|
event | Event |
Returns
boolean
removeEventListener()
ts
removeEventListener(type, listener): void;Defined in: types/desktop-engine.d.ts:3935
Parameters
| Parameter | Type |
|---|---|
type | string |
listener | | EventListenerOrEventListenerObject | null |
Returns
void
