just-time-webcomponent
TypeScript icon, indicating that this package has built-in type declarations

0.0.3 • Public • Published

Just Time Webcomponent npm Dependencies npm type definitions Published on webcomponents.org

Webcomponent showing current time. Inspired by just-time.eu. Try demo.html.

How to use

<script
	type="module"
	src="https://unpkg.com/just-time-webcomponent@latest/dist/index.es.js?module"
></script>

Right now is <just-time></just-time>.

Or without seconds

Right now is <just-time hide-seconds></just-time>.

Prevent size jumps

Set font-variant-numeric: tabular-nums in your CSS. Use a font supporting this like Google fonts Open Sans.

Versions

Current Tags

  • Version
    Downloads (Last 7 Days)
    • Tag
  • 0.0.3
    0
    • latest

Version History

  • Version
    Downloads (Last 7 Days)
    • Published
  • 0.0.3
    0
  • 0.0.2
    0
  • 0.0.1
    0

Package Sidebar

Install

npm i just-time-webcomponent

Weekly Downloads

0

Version

0.0.3

License

ISC

Unpacked Size

11.1 kB

Total Files

9

Last publish

Collaborators

  • onset