-
Clone repository
git clone https://github.com/dontru/binary-clock.git
-
Include binary-clock/src/script.js
<script src="binary-clock/src/script.js"></script>
-
Use binary-clock custom HTML element
<binary-clock circle size="40" color="#444444"></binary-clock>
-
Shape:
circle
,square
; otherwise is rounded -
size
of the one diode in px, default is 32 -
color
default is #808080