Skip to content

farhanhalai30/timer-js

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Timer.js

Timer plugin written in JavaScript.

Technologies

  • JavaScript

Usage

const timer = new Timer({
    time: {
        min: 10,
        sec: 0
    },
    onTick: (time) => {
        // Add code to perform on every second down.
    },
    onEnd: () => {
        // Add code to perform on the end of the timer.
    }
});

Releases

No releases published

Packages

No packages published