Skip to content

twihno/liveClock

Repository files navigation

liveClock

Node.js Package GitHub npm

A simple realtime clock using Web Components.

Examples

https://twihno.github.io/liveClock/

Usage

<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 :

Styling

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