- DomName('Window.postMessage')
- DocsEditable()
Sends a cross-origin message.
Other resources
-
window.postMessage from MDN.
-
Cross-document messaging from WHATWG.
Source
@DomName('Window.postMessage')
@DocsEditable()
void postMessage(Object message, String targetOrigin, [List<MessagePort> transfer]) => _blink.BlinkWindow.instance.postMessage_Callback_3_(this, convertDartToNative_SerializedScriptValue(message), targetOrigin, transfer);