Page 1 of 1

By-directional Javascript in Livecode

Posted: Wed Jul 28, 2021 2:28 pm
by opn
I’m researching for an article on Livecode and javascript for electron-style applications. Would really love some examples to work from, especially around bidirectional javascript communication. I'mm looking especially to communicate arrays between Livecode and the browser widget. My understanding is that will involve returning data from the javascript function and using stringify() or the equivalent to serialise the array to json.

I have a few examples gleaned from the forum and this list, but ti would be great to see a good example of interacting with a useful javascript library in the browser - any examples out there?