method BroadcastChannel.addEventListener
Private
BroadcastChannel.addEventListener<K extends keyof BroadcastChannelEventMap>(type: K,listener: (this: BroadcastChannel,ev: BroadcastChannelEventMap[K],) => any,options?: boolean | AddEventListenerOptions,): void
K extends keyof BroadcastChannelEventMap
type: K
listener: (this: BroadcastChannel,ev: BroadcastChannelEventMap[K],) => any
optional
options: boolean | AddEventListenerOptions
void
BroadcastChannel.addEventListener(type: string,listener: EventListenerOrEventListenerObject,options?: boolean | AddEventListenerOptions,): void
listener: EventListenerOrEventListenerObject
optional
options: boolean | AddEventListenerOptions
void