Skip to content

Latest commit

 

History

History
20 lines (12 loc) · 457 Bytes

README.md

File metadata and controls

20 lines (12 loc) · 457 Bytes

binary-clock

usage

  1. Clone repository
    git clone https://github.com/dontru/binary-clock.git

  2. Include binary-clock/src/script.js
    <script src="binary-clock/src/script.js"></script>

  3. Use binary-clock custom HTML element
    <binary-clock circle size="40" color="#444444"></binary-clock>

attributes

  • Shape: circle, square; otherwise is rounded

  • size of the one diode in px, default is 32

  • color default is #808080