method BroadcastChannel.addEventListener
Jump to headingBroadcastChannel.addEventListener<K extends keyof BroadcastChannelEventMap>(type: K,listener: (this: BroadcastChannel,ev: BroadcastChannelEventMap[K],) => any,options?: boolean | AddEventListenerOptions,): voidType Parameters Jump to heading
Jump to headingK extends keyof BroadcastChannelEventMapParameters Jump to heading
Jump to headingtype: KJump to headinglistener: (this: BroadcastChannel,ev: BroadcastChannelEventMap[K],) => anyoptional
Jump to headingoptions: boolean | AddEventListenerOptionsReturn Type Jump to heading
voidJump to headingBroadcastChannel.addEventListener(type: string,listener: EventListenerOrEventListenerObject,options?: boolean | AddEventListenerOptions,): voidParameters Jump to heading
Jump to headingtype: stringoptional
Jump to headingoptions: boolean | AddEventListenerOptionsReturn Type Jump to heading
void