Closed DannyFeliz closed 2 years ago
You can call the end
method first, and then call the start
method to restart.
@fengyuanchen the problem is that I have some actions in the end
event and I don't want to be executed at least if finished for real.
You can also remount the component.
@fengyuanchen that is not feasible for my use case.
I created a PR adding the restart method.
You can call the
end
method first, and then call thestart
method to restart.
end
method make totalMilliseconds
to be zero, then countdown cannot start again using start
method.
Supports this as of v2.1.0.
It would be cool to have a restart method that takes the countdown to the initial time.