Hi,
Just found this out and glad I tried. But I want to show total time and start count down upon a press of a button. I created a button and expected to start the timer when clicked - though it starts on its own and immediately.
How can I make it start only when button is pressed?
Please help.
I know it's been a while on this issue, just replying here for others. Refer to the countdown-start-callback.html in the repo for an example. That should work for what you need.
Hi, Just found this out and glad I tried. But I want to show total time and start count down upon a press of a button. I created a button and expected to start the timer when clicked - though it starts on its own and immediately.
How can I make it start only when button is pressed? Please help.
Here is my code: