Open SAMshashank opened 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();
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();