devv-work / timeato

Track productivity, allot time for focusing on tasks, and increase your effectiveness during study sessions
https://timeato.up.railway.app/
7 stars 1 forks source link

Add pause functionality to timer in main.js #69

Closed Brandon-Schefstad closed 1 year ago

Brandon-Schefstad commented 1 year ago

Right now the timer runs once a second to decrement down, we need a pause feature to stop the setInterval from running.

The timerObject has an 'active' property that is by default set to false if you want to use that to determine start/stop!