Last active
February 2, 2020 13:24
-
-
Save danhollick/46a91eb2384cd983924565f0070773e5 to your computer and use it in GitHub Desktop.
Receiving plugin message
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<script> | |
window.onmessage = async event => { | |
const message = event.data.pluginMessage | |
console.log(message) | |
} | |
</script> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment