interface Window
extends EventTarget
Properties #
#onerror: ((this: Window,ev: ErrorEvent,) => any) | null
#onbeforeunload: (() => any) | null
#onunhandledrejection: ((this: Window,) => any) | null
#onrejectionhandled: ((this: Window,) => any) | null
Methods #
#addEventListener<K extends keyof WindowEventMap>(type: K,listener: (this: Window,ev: WindowEventMap[K],) => any,options?: boolean | AddEventListenerOptions,): void
#addEventListener(type: string,listener: EventListenerOrEventListenerObject,options?: boolean | AddEventListenerOptions,): void
#removeEventListener<K extends keyof WindowEventMap>(type: K,listener: (this: Window,ev: WindowEventMap[K],) => any,options?: boolean | EventListenerOptions,): void
#removeEventListener(): void
variable Window