moment-element | Vaadin

Web Component (with Polymer) wrapper for the moment library

[ This description is mirrored from README.md at github.com/abdonrd/moment-element on 2019-05-22 ]

Build status Published on webcomponents.org

<moment-element>

Web Component (with Polymer) wrapper for the moment library.

Example:

<moment-element output="{{outputA}}">[[outputA]]</moment-element>

<moment-element datetime="1991-12-31" output="{{outputB}}"></moment-element>
<div>[[outputB]]</div>

Install

Link to this version
ImportedReleased 19 October 2017MIT License
Framework Support
Polymer 2.0+
Also supported:
Polymer 1 (0.4.4)
Browser Compatibility
Install with
bower install --save abdonrd/moment-element"#3.0.1"
Run the above Bower command in your project folder. If you have any issues installing, please contact the author.
Release notes - Version 3.0.1

Dependencies

  • moment#~2.18.0
  • polymer#Polymer/polymer#^2.0.0