Skip to main content

Interface: ErrorHandlingEventTarget

Defined in: utils/errors/errorHandlingRuntime.ts:21

Properties​

addEventListener​

readonly addEventListener: {
<K> (type: K, listener: (this: Window, ev: WindowEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
};

Defined in: utils/errors/errorHandlingRuntime.ts:22

Call Signature​

<K extends keyof WindowEventMap>(
type: K,
listener: (this: Window, ev: WindowEventMap[K]) => any,
options?: boolean | AddEventListenerOptions
): void;
Type Parameters​
K​

K extends keyof WindowEventMap

Parameters​
type​

K

listener​

(this: Window, ev: WindowEventMap[K]) => any

options?​

boolean | AddEventListenerOptions

Returns​

void

Call Signature​

(
type: string,
listener: EventListenerOrEventListenerObject,
options?: boolean | AddEventListenerOptions
): void;
Parameters​
type​

string

listener​

EventListenerOrEventListenerObject

options?​

boolean | AddEventListenerOptions

Returns​

void