how to change a boolean 5 seconds true and another 5 seconds false?

1
Hello everyone,   I'm working on a feature to toggle image visibility – displaying the first image for 5 seconds and then switching to the second image for another 5 seconds. I've attempted using boolean values and a microflow timer, but I'm having trouble figuring out the best solution. Could you please provide step-by-step guidance on a more effective approach?   Thank you!
asked
1 answers
0

Hi Ablikim,

 

Depending on your use case I would suggest a couple options. Maybe you can create a gif/video of the images and use that instead. 

Another option could be a widget like this one: https://marketplace.mendix.com/link/component/212995

And the last one you might want to look into is CSS transitions. 

https://www.w3schools.com/css/css3_transitions.asp

They all have their pros and cons depending on your use case and skill level. Hope this helps

answered