![]() There are a number of commands that will send back response from ESASky. Where esaskyFrameName is the elementId where the esasky page is embedded, command is a JSON containing ‘event’ for function name and ‘content’ with all parameters For example by:ĭocument.getElementById(esaskyFrameName).contentWindow.postMessage(command, ‘’) Let's take a button as an example.All commands should be sent to the ESASky element as postMessages. The three layers build on top of one another nicely. (Okay, not everything, but it is amazing what you can achieve with a few lines of JavaScript code.)
0 Comments
Leave a Reply. |
Details
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |