...
Code Block |
---|
window.addEventListener("message", (event) => { if (event && event.data && event.data.messageType) { if (event.......data.messageType === "AssetMessage") { //Logic for insert goes here } } }, false); |
And an example using Angular
...
...
Code Block |
---|
window.addEventListener("message", (event) => { if (event && event.data && event.data.messageType) { if (event.......data.messageType === "AssetMessage") { //Logic for insert goes here } } }, false); |
And an example using Angular
...