Sends a cross-origin message.
Other resources
- window.postMessage from MDN.
- Cross-document messaging from WHATWG.
Source
void postMessage(var message, String targetOrigin, [List<MessagePort> messagePorts]);
Sends a cross-origin message.
void postMessage(var message, String targetOrigin, [List<MessagePort> messagePorts]);