Ready, steady, go!

node v8.17.0
version: master
endpointsharetweet
var EasytimerJs = require("easytimer.js") let timer = new EasytimerJs(); timer.addEventListener('secondsUpdated', () => console.log('secondsUpdated', timer.getTimeValues().toString())); timer.start({countdown: true, startValues: [0,3,0,0,0]}); timer.addEventListener('targetAchieved', function (e) { console.log('targetAchieved') timer.stop(); timer.start(); });
Created from: https://npm.runkit.com/easytimer.js
Loading…

no comments

    sign in to comment