Skip to main content

postMessage

method BroadcastChannel.postMessage
Jump to headingBroadcastChannel.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 Jump to heading

Jump to headingmessage: any

Return Type Jump to heading

void
Back to top