Skip to content

Latest commit

 

History

History
21 lines (16 loc) · 454 Bytes

Readme.md

File metadata and controls

21 lines (16 loc) · 454 Bytes

digital clock

a simple, responsive (and don't forget retro!) digital clock written entirely in CSS and JS. because, why not?

digital clock

Installation

$ component install vicapow/digital-clock

API

   var clock = new DigitalClock({seconds:true})
   clock.setHours(1)
   clock.setMinutes(23)
   clock.setSeconds(45)
   // or set via object
   clock.setTime(new Date)

License

MIT