Timer
Static functions
getRelativeTime
Parameters
Input
Key
Description
Type
Output
Examples
# time
2025-07-12T08:00:00.000Z
# options
locale: enInstance functions
create
Parameters
Input
Key
Description
Type
Output
Example
delete
Parameters
Output
setTotalSeconds
Parameters
Input
Description
Type
Output
getTotalSeconds
Parameters
Output
getSecondsLeft
Parameters
Output
getProgress
Parameters
Output
getState
Parameters
Output
start
Parameters
Output
stop
Parameters
Input
Description
Type
Output
Example
Event listeners
onTick
Parameters
Input
Description
Type
Output
Example
onTimeup
Parameters
Input
Description
Type
Output
Example
Last updated
Was this helpful?