Skip to main content
Window.removeEventListener - Platform - Web documentation
method Window.removeEventListener
Private
Window.removeEventListener<K extends keyof WindowEventMap>(
type: K,
listener: (
this: Window,
) => any
,
options?: boolean | EventListenerOptions,
): void

Type Parameters

K extends keyof WindowEventMap

Parameters

type: K
listener: (
this: Window,
) => any
optional
options: boolean | EventListenerOptions

Return Type

void
Window.removeEventListener(
type: string,
options?: boolean | EventListenerOptions,
): void

Parameters

type: string
optional
options: boolean | EventListenerOptions

Return Type

void