0.0.2-alpha • Published 1 year ago

@architrixs/date-time-element v0.0.2-alpha

Weekly downloads
-
License
MIT
Repository
github
Last release
1 year ago

<date-time> element

A custom element that displays a date and time.

Installation

Available on npm as @architrixs/date-time-element.

$ npm install --save @architrixs/date-time-element

Usage

Script

Import as ES modules:

import '@architrixs/date-time-element'

Include with a script tag:

<script type="module" src="./node_modules/@architrixs/date-time-element/dist/date-time.js">

Browser support

Browsers without native custom element support require a polyfill.

  • Chrome
  • Firefox
  • Safari
  • Microsoft Edge

License

Distributed under the MIT license. See LICENSE for details.