1.0.0 • Published 5 years ago

time-field v1.0.0

Weekly downloads
3
License
Apache-2.0
Repository
github
Last release
5 years ago

Published on webcomponents.org Build Status codecov

\<time-field>

A time field Web Component based on Polymer 3.

Live Demo ↗

Getting started

The time-field component is distributed as an npm package. To start using it, first install it from the command line:

npm install --save time-field

Once installed, import it into your application:

import 'time-field/time-field.js'

Running demos locally

  1. Fork the time-field repository and clone it locally.
  2. Make sure you have the Polymer CLI and npm (packaged with Node.js) installed.
  3. When in the time-field directory, run npm install to install the element's dependencies.
  4. Run polymer serve --open, the browser will automatically open the components demo page.

Running tests from the command line

When in the time-field directory, run:

$ wct --npm