Hey all, I am trying to create a page where four image inside rectangle randomly change every 5 secs. Trying to look example/docs but couldn’t find any example. Any example or forum post would be nice.
This is a similar docs I came up with. https://www.fusetools.com/examples/onboarding-with-pagecontrol
If you want to do a timed operation, you should use setTimeout() in JavaScript.
setTimeout()
Here’s a little example on how you can use it:
<App> <JavaScript> var Observable = require("FuseJS/Observable"); var x = Observable(1); function increment() { x.value++; setTimeout(increment, 2000); } increment(); module.exports = { x: x }; </JavaScript> <Text Value="{x}" Alignment="Center" /> </App>