BroadcastChannel.removeEventListener - Web documentation
method BroadcastChannel.removeEventListener
BroadcastChannel.removeEventListener<K extends keyof BroadcastChannelEventMap>(
type: K,
listener: () => any,
options?: boolean | EventListenerOptions,
): void

Type Parameters

K extends keyof BroadcastChannelEventMap

Parameters

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

Return Type

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

Parameters

type: string
optional
options: boolean | EventListenerOptions

Return Type

void