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
Hello,
In the v2.0.4 of countdown there was a second param of initialization a callback function.
Now you introduce the options object also as the second param.
Is there a possibility to use both of them in one initialization?
The problem is that when we set the precision to 1 minute (60000 ms) the html start to be visible after 1 minute, not from start.
How to make the html to be visible from start?
The text was updated successfully, but these errors were encountered:
After some though I decided to add a new option parameter to allow better control of the start.
The thing is that its bad to add a callback at the initialization function because it doesn't follow the jQuery/JavaScript conventions for events. So I thought of the defer initialization, so you could start the countdown after the callback(s) are setup, just an example of it:
$('el').countdown('YYYY-mm-dd',{defer: true}).on('update.countdown',function(){// ... Setup the render}).countdown('start');
Hello,
In the v2.0.4 of countdown there was a second param of initialization a callback function.
Now you introduce the options object also as the second param.
Is there a possibility to use both of them in one initialization?
The problem is that when we set the precision to 1 minute (60000 ms) the html start to be visible after 1 minute, not from start.
How to make the html to be visible from start?
The text was updated successfully, but these errors were encountered: