Skip to main content

Actions

ActionsDescriptionAPI Method
StartStarts the countdown.countdown.start()
PausePauses the countdown.countdown.pause()
ResetReset the countdown to the original time set in the component properties.countdown.reset()
Set SecondsChanges the time in seconds to achieve completion.countdown.setSeconds(30)
Set To DateChanges the date to achieve completion.countdown.setToDate(recommended format)
Get DurationGets the time defined to achieve completion.
Could be in seconds or date, depending on the initial property.
getDuration()
Get Remaining TimeGets the current Remaining time to achieve completion.
Could be in seconds or date, depending on the initial property.
getRemainingTime()