You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It's a very good project, I found it much easier in use then FlipClock.js which I used before (and it also requires jQuery).
But I was surprised when I did not see any sign of a stop() method which would be useful in a big complex projects when you need to stop the counter earlier then the deadline occurs according to some app logic.
The text was updated successfully, but these errors were encountered:
Hi! I think the clock should be stopped, then possibly zeroed (but not necessarily) and then completely removed from the parent container.
Right now I'm doing this by calling clearInterval with clock's "countdown" field and then removing clock's elements from the DOM:
if(myClock !== false){
clearInterval(myClock.countdown);
myClock = false;
}
var element = document.getElementById('shabbat-clock-outer');
element.innerHTML = '';
It's a very good project, I found it much easier in use then FlipClock.js which I used before (and it also requires jQuery).
But I was surprised when I did not see any sign of a stop() method which would be useful in a big complex projects when you need to stop the counter earlier then the deadline occurs according to some app logic.
The text was updated successfully, but these errors were encountered: