BroadcastChannel : EventTarget
BroadcastChannel provides a simple way for different contexts (such as Windows or Workers) in the same origin to broadcast messages all other BroadcastChannels created with the same name. See also Window.postMessage and MessageChannel.
Instance Methods
Instance Events
Fired when postMessage
is called on another BroadcastChannel sharing the same name as this
.
Example:
RunResults:
Copyright © JavaScripture Contributors