time-field
v1.0.0
Published
A time field Web Component based on Polymer 3
Downloads
5
Maintainers
Readme
<time-field>
A time field Web Component based on Polymer 3.
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
- Fork the
time-field
repository and clone it locally. - Make sure you have the Polymer CLI and npm (packaged with Node.js) installed.
- When in the
time-field
directory, runnpm install
to install the element's dependencies. - 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