objectivehtml / FlipClock

http://flipclockjs.com/
MIT License
2.74k stars 955 forks source link

when I am refreshing the page it gets reset and start the timer from the beginning what I do please tell me what I add extra in this code. #420

Open SAMshashank opened 2 years ago

SAMshashank commented 2 years ago

when I am refreshing the page it gets reset and starts the timer from the beginning what I do please tell me what I add extra in this code.

let clock; clock = $(".clock").FlipClock({ clockFace: "DailyCounter", autoStart: false, callbacks: { stop: function () { $(".message").html("massage!"); }, }, });

clock.setTime(4000000); clock.setCountdown(true); clock.start();