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