<lit-clock>
Simple clock element
Install
yarn add @mothepro/lit-clock
How to Use
Attribute | Type | Description |
---|---|---|
pause |
boolean |
Whether the clock should be incrementing |
pause-on-blur |
boolean |
Whether the clock should continue incrementing when the document loses focus |
ticks |
number |
The number of seconds the clock should start with. Defaults to 0
|
Pause on blur clock
<lit-clock pause-on-blur ticks=0></lit-clock>