A custom element that displays a date and time.
Available on npm as @architrixs/date-time-element.
$ npm install --save @architrixs/date-time-element
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/src/date-time.js">
Browsers without native custom element support require a polyfill.
- Chrome
- Firefox
- Safari
- Microsoft Edge
Distributed under the MIT license. See LICENSE for details.