Skip to content

gatanaso/time-field

Repository files navigation

Published on webcomponents.org Published on Vaadin  Directory 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 --npm --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