How to receive data from an Iframe in Dart? -


i know way communicate iframe using postmessage method follow:

iframe.contentwindow.postmessage("my message", window.location.href); 

but know how receive data iframe after change on it.

in receiver window, when receive message, sender passed message , can send sender.

window.onmessage.listen((e) {   e.source.postmessage({'somedata': 'xxx'}, '*'); }); 

see


Comments

Popular posts from this blog

command line - Use qwinsta in PowerShell ISE -

java - Incorrect order of records in M-M relationship in hibernate -

Python website log in: BIG-IP can not find session information in the request -