function resumeTimer() {
  if (!counterInterval){
    counterInterval = setInterval(countDown, 1000);
  }
  // display the timer values again.
  timerLayout.clear(timerLayout.time);
  timerLayout.time.label = counter;
  timerLayout.clear(timerLayout.set);
  timerLayout.set.label = `Sets: ${setsRemaining}`;
  timerLayout.render();
}
/** Reumes the timer by setting the counterInterval again */
Reumes the timer by setting the counterInterval again
Reumes the timer by setting the counterInterval again
function resumeTimer() {
  if (!counterInterval){
    counterInterval = setInterval(countDown, 1000);
  }
  timerLayout.clear(timerLayout.time);
  timerLayout.time.label = counter;
  timerLayout.clear(timerLayout.set);
  timerLayout.set.label = `Sets: ${setsRemaining}`;
  timerLayout.render();
}
function resumeTimer ( ) { if ( ! counterInterval ) { counterInterval = setInterval ( countDown , 1000 ) ; } timerLayout . clear ( timerLayout . time ) ; timerLayout . time . label = counter ; timerLayout . clear ( timerLayout . set ) ; timerLayout . set . label = ` ${ setsRemaining } ` ; timerLayout . render ( ) ; }
Reumes the timer by setting the counterInterval again
Reumes the timer by setting the counterInterval again
// display the timer values again.