postMessage method
- @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);
© 2012 the Dart project authors
Licensed under the Creative Commons Attribution-ShareAlike License v4.0.
https://api.dartlang.org/stable/1.24.3/dart-html/Window/postMessage.html