[go: up one dir, main page]

Timer methods

Methods available on the Timer instance returned by a createTimer() function, providing control over the timing, behaviour, and progression of a timer.

const timer = createTimer(parameters);
      ┌──────────┐
timer.│pause()   │
timer.│play()    ├─ Methods
timer.│restart() │
      └──────────┘