Skip to content

Latest commit

 

History

History
25 lines (22 loc) · 487 Bytes

README.md

File metadata and controls

25 lines (22 loc) · 487 Bytes

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