Skip to main content

Window

interface Window
extends EventTarget

Properties Jump to heading

Jump to headingaddEventListener<K extends keyof WindowEventMap>(
type: K,
listener: (
this: Window,
) => any
,
options?: boolean | AddEventListenerOptions,
): void
Jump to headingremoveEventListener<K extends keyof WindowEventMap>(
type: K,
listener: (
this: Window,
) => any
,
options?: boolean | EventListenerOptions,
): void
Back to top