Window.removeEventListener - Web documentation
method Window.removeEventListener
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