Actions
Actions | Description | API Method |
---|---|---|
Start | Starts the countdown. | countdown.start() |
Pause | Pauses the countdown. | countdown.pause() |
Reset | Reset the countdown to the original time set in the component properties. | countdown.reset() |
Set Seconds | Changes the time in seconds to achieve completion. | countdown.setSeconds(30) |
Set To Date | Changes the date to achieve completion. | countdown.setToDate(recommended format) |
Get Duration | Gets the time defined to achieve completion. Could be in seconds or date, depending on the initial property. | getDuration() |
Get Remaining Time | Gets the current Remaining time to achieve completion. Could be in seconds or date, depending on the initial property. | getRemainingTime() |