Comments (3)
as the example is showing
https://vac.js.org/examples/methods/switch-countdown.htmlWhen I call the switchCountdown(), the timer seems to stop, but the time is still lapsing. When I call the method again, the timer starts not from where I stopped but jumps right to how long has lapsed.
Is this behavior intended or is it a bug?
You can try
vac.pauseCountdown()
from vue-awesome-countdown.
as the example is showing
https://vac.js.org/examples/methods/switch-countdown.html
When I call the switchCountdown(), the timer seems to stop, but the time is still lapsing. When I call the method again, the timer starts not from where I stopped but jumps right to how long has lapsed.
Is this behavior intended or is it a bug?You can try
vac.pauseCountdown()
Thank you. More discussion of the behavior. What is the intention of designing the function of a switch that does not stop the timer actually, but just show it is stopped?
from vue-awesome-countdown.
The end time of the countdown does not change because you stop the countdown, so there will be a time jump when you restart the countdown, and the remaining time will be recalculated when the countdown is suspended and started again. This is the difference between the two.
from vue-awesome-countdown.
Related Issues (20)
- Update documentation to fit Vue 2.6 slots syntax HOT 7
- startCountdown() restart doesn't work HOT 4
- IE10 不兼容 HOT 1
- npm install vue-awesome-countdown (Dependent package errors) HOT 3
- timeObj.s not precise HOT 1
- finised instead of finished HOT 1
- stoped instead of stopped HOT 1
- finish event not working
- finish and autostart false not working HOT 1
- Sometimes the countdown is deducted by 2 seconds HOT 5
- How to reset the timer without restarting it? HOT 3
- Start event not called with auto start false HOT 1
- Start event not called with autoStart false HOT 1
- Timer not starts when using dynamic start-time and end-time HOT 1
- ie11报错 HOT 1
- how to import and use in nuxt? HOT 1
- 修改绑定的时间戳不更新
- Is it possible to count up? HOT 2
- 目前支持Vue3吗 HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from vue-awesome-countdown.