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
Thanks for your great work. I need to change the timer to "%H:%M:%S" format when it reached 59:59. So far I was able to do it but not sure if this is how you'd prefer to be doing it... if yes, then it would be helpful to others if something like this is also added in the documentation examples. If no 😄 I'd be cool if you share your way of doing it. 😄
varcallDuration=$('#call-duration');callDuration.timer({duration: '61s',//since 3599 is divisible by 59 or 61seconds: 3590,//simulation purposesformat: '%M:%S',callback: function(){vartotal=callDuration.data('seconds');if(total===3599){//change to hour format (3600 - 1 to prevent display bug)this.format='%H:%M:%S';}},repeat: true//repeatedly call the callback});
The text was updated successfully, but these errors were encountered:
Hello! 😄
Thanks for your great work. I need to change the timer to
"%H:%M:%S"
format when it reached59:59
. So far I was able to do it but not sure if this is how you'd prefer to be doing it... if yes, then it would be helpful to others if something like this is also added in the documentation examples. If no 😄 I'd be cool if you share your way of doing it. 😄The text was updated successfully, but these errors were encountered: