1.0.4 • Published 2 years ago

liveclock v1.0.4

Weekly downloads
-
License
MIT
Repository
github
Last release
2 years ago

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