-
Notifications
You must be signed in to change notification settings - Fork 82
Open
Description
Hi,
I have an issue where the timer shows negative time and callback is not called when the mobile screen is locked. When screen is unlocked how to make sure that the timer stops at 0 and doesn't display negative values. Below is my config.
var totalSeconds = 20;
$("#t").timer({
action: 'start',
duration: totalSeconds,
countdown: true,
callback: function () {
location.reload();
}
});
Regards,
Bhavana C
Metadata
Metadata
Assignees
Labels
No labels