Simple answer is you can't update an interval of already created timer. (There is only two functions setInterval/setTimer
and clearInterval/clearTimer
, so having a timerId
you can only deactivate it.) But you can made some workarounds. Take a look at this github repo.