Skip to main content
BroadcastChannel.postMessage - Messaging - Web documentation
method BroadcastChannel.postMessage
Private
BroadcastChannel.postMessage(message: any): void

Sends the given message to other BroadcastChannel objects set up for this channel. Messages can be structured objects, e.g. nested objects and arrays.

Parameters

message: any

Return Type

void
Back to top