3 ms·
IIRC, you can communicate entire JSON objects between an iframe and it's host frame with PostMessage. The host can then act as a server for the iframe client,
by danans 1y ago
IIRC, you can communicate entire JSON objects between an iframe and it's host frame with PostMessage.
The host can then act as a server for the iframe client, even updating it's state or DOM in response to a message from the iframe.