div-action-timer
Controls the timer.
Parameters
Parameters | Description |
---|---|
action |
string Required parameter. Timer actions: start — starts the timer from a stopped statestop — stops the timer and performs the onEnd actionpause — pauses the timer, saves the current timeresume — restarts the timer after a pausecancel — interrupts the timer, resets the timereset — cancels the timer, then starts it againPossible values: Available platforms: Android, iOS. |
id |
string Required parameter. Timer ID. Available platforms: Android, iOS. |
type |
string Required parameter. The value must always be Available platforms: Android, iOS. |
JSON
{
type*: "timer",
action*: "string",
id*: "string"
}