Skip to content

pilotpirxie/binary-clock

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Binary Clock

DOM manipulated binary clock widget.

How to use

  • Download ZIP file or clone repository.
  • Attach the script at the end of file.
  • Create a new instance of object.
  • Run it or check the demo.

Setup

function(){
    /**
    * BinaryClock constructor accepts two parameteres.
    * First is an id of div to append, second is a font size.
    ***/
    const clock = new BinaryClock('binary-clock',32);
    clock.start(1000);
})();

License

MIT