method Window.addEventListener
Private
Window.addEventListener<K extends keyof WindowEventMap>(type: K,listener: (this: Window,ev: WindowEventMap[K],) => any,options?: boolean | AddEventListenerOptions,): void
K extends keyof WindowEventMap
type: K
listener: (this: Window,ev: WindowEventMap[K],) => any
optional
options: boolean | AddEventListenerOptions
void
Window.addEventListener(type: string,listener: EventListenerOrEventListenerObject,options?: boolean | AddEventListenerOptions,): void
listener: EventListenerOrEventListenerObject
optional
options: boolean | AddEventListenerOptions
void