Skip to main content
BroadcastChannel.removeEventListener - Messaging - Web documentation
method BroadcastChannel.removeEventListener
Private
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