Skip to main content

addEventListener

method BroadcastChannel.addEventListener
Jump to headingBroadcastChannel.addEventListener<K extends keyof BroadcastChannelEventMap>(
type: K,
listener: () => any,
options?: boolean | AddEventListenerOptions,
): void
Jump to headingBroadcastChannel.addEventListener(
type: string,
options?: boolean | AddEventListenerOptions,
): void
Back to top