method Window.addEventListener
Jump to headingWindow.addEventListener<K extends keyof WindowEventMap>(type: K,listener: (this: Window,ev: WindowEventMap[K],) => any,options?: boolean | AddEventListenerOptions,): voidType Parameters Jump to heading
Jump to headingK extends keyof WindowEventMapParameters Jump to heading
Jump to headingtype: KJump to headinglistener: (this: Window,ev: WindowEventMap[K],) => anyoptional
Jump to headingoptions: boolean | AddEventListenerOptionsReturn Type Jump to heading
voidJump to headingWindow.addEventListener(type: string,listener: EventListenerOrEventListenerObject,options?: boolean | AddEventListenerOptions,): voidParameters Jump to heading
Jump to headingtype: stringoptional
Jump to headingoptions: boolean | AddEventListenerOptionsReturn Type Jump to heading
void