liveclock
TypeScript icon, indicating that this package has built-in type declarations

1.0.4 • Public • Published

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

/liveclock/

    Package Sidebar

    Install

    npm i liveclock

    Weekly Downloads

    2

    Version

    1.0.4

    License

    MIT

    Unpacked Size

    36.9 kB

    Total Files

    15

    Last publish

    Collaborators

    • twihno