How to implement interval logic:? #4188
Unanswered
Kaesebrot84
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
In my component I have a button which generates a timestamp. I also want to show a div which holds a timer, which is triggered by the button and shows a timer constantly running and displaying the time passed since the button was pressed.
AI suggests using
use_interval
which does not seem to exist. I also found this older issue which suggests using gloo-timers.I am a little surprised, that I need a dependency to implement a component like this. How would one go about implementing this?
Beta Was this translation helpful? Give feedback.
All reactions