Community Tip - Did you know you can set a signature that will be added to all your posts? Set it here! X
i am trying to toggle the visibility of an image and i am using this service to be refreshed every 5sec
var output = me.tests().Value;
if (output == 1) {
result = false;
pause (2000);
result = true;
}
but it's not working and i can't understand what's the issue
any suggestions ?
try it with an autorefresh widget and remove the pause.
So you can have an expression widget that validates a value and says !value and also outputs that
add an auto refresh to fire that expression widget.
and just have those elements invisible.
that still doesn't work
and i still need to be able to set the time between the toggles because i have more than one image widget that i want them to appear in a curtain sequence.
I think ability to set the Time period and ability to show something in a curtain is two different things.
To do a 'curtain' style, we recommend using an animated gif sequence into a media entity.
If you need to show images in certain sequences, you can use the expression widget to track where in the sequence you are and use validation widgets to then show the proper items.