Incoming JS Events to Consume
Iframe Example
In order to listen for an incoming event, you need to add an event listener for message
, like this window.addEventListener("message", messageListener)
. Then all of the different incoming events will be available to be consumed.
The console log output looks like this: