That's great - digging into the scripts and html - really useful to see a
simple demo like this!
On Wed, 7 Feb 2024 at 19:45, Andreas Bergendal
wrote:
> I’ve added a source code download link at the bottom of the page:
> https://wheninspace.com/WebpageInteractionStack/
>
> The steps are rather
I’ve added a source code download link at the bottom of the page:
https://wheninspace.com/WebpageInteractionStack/
The steps are rather simple:
- Open the stack with LC10 and run the standalone builder with "Build for web"
checked.
- Replace the html file in the deployment folder (in this case
Perfect - just what I was looking for. Can you share the stack, and the
steps to saving / exporting the standalone?
On Sat, 27 Jan 2024 at 17:50, Andreas Bergendal via use-livecode <
use-livecode@lists.runrev.com> wrote:
> OK, so here’s a quick proof of concept, with functions triggered from
Andreas,
Thanks for that demo.
Jim Lambert
___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode
OK, so here’s a quick proof of concept, with functions triggered from page to
stack and from stack to page.
It is not using postMessage, only 'standard’ javascript listeners. Works well
on mobile too (at least iPhone).
https://wheninspace.com/WebpageInteractionStack/
If I find the time, it
The scenario would be events like resize, or a button click in the html
page triggering a handler in the Livecode wasm export. The other way round
would ve a Livecode handler in the exported wasm widget calling a
javascriot function in the surrounding Web page.
My understanding in other contexts
I’ve created some web deployments where the web page interacts with the stack
e.g. in the sense that a change of the browser window rect triggers a
resizeStack message in the stack.
But I’m not sure if by bidirectional you mean that actions in the stack should
also affect the web page in some
Is there a demo out there for simple bidirectional interaction between a
web page and a recent stack exported as wasm? Anyone experimenting with
this?
___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe,