Continue in negative once the timer is finished ? #218
-
Hello and thank you for your fabulous library :) Is it possible, once the timer is finished ( Thanks in advance :) |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments
-
Hey @GaylordP, I assume that you want the progress bar that shows the remaining time to be gone as well (because when the remaining time is 0 then there is no progress bar). If that is the case, the thing you can do is once it is over, you set the option to repeat the timer and this time set the |
Beta Was this translation helpful? Give feedback.
-
Thank you very much ! :) |
Beta Was this translation helpful? Give feedback.
Hey @GaylordP, I assume that you want the progress bar that shows the remaining time to be gone as well (because when the remaining time is 0 then there is no progress bar). If that is the case, the thing you can do is once it is over, you set the option to repeat the timer and this time set the
colors
prop to bergba(0,0,0,0)
so it is transparent and you will need to control the display time to be a negative number, for that you can use theelapsedTime
prop from thechildren
prop and just add-
or-Math.floor(elapsedTime)
.