A simple realtime clock using Web Components.
https://twihno.github.io/liveClock/
<live-clock
twelvehours="false"
secondsvisible="true"
blinking="true"
separator=":"
></live-clock>
Available Parameters:
default | ||
---|---|---|
twelvehours |
Use 12h format (AM/PM) | false |
secondsvisible |
Show seconds | false |
blinking |
The separator blinks every second | false |
separator |
Character between hours/minutes/seconds | : |
This package doesn't provide any styling for the clock. This allows you to style the clock however your project requires it to look like.
Recommendation: Use a monospaced font