Skip to content

ZheSun88/vaadin-time-picker

 
 

Repository files navigation

Published on webcomponents.org Build Status Coverage Status Gitter

<vaadin-time-picker>

Live Demo ↗ | API documentation ↗

<vaadin-time-picker> is a Web Component providing a time-selection field, part of the Vaadin components.

<vaadin-time-picker label="Delivery Time"></vaadin-time-picker>

Screenshot of vaadin-time-picker

Getting Started

Vaadin components use the Lumo theme by default.

The file structure for Vaadin components

  • src/vaadin-time-picker.html

    Unstyled component.

  • theme/lumo/vaadin-time-picker.html

    Component with Lumo theme.

  • vaadin-time-picker.html

    Alias for theme/lumo/vaadin-time-picker.html

Running demos and tests in browser

  1. Fork the vaadin-time-picker repository and clone it locally.

  2. Make sure you have npm installed.

  3. When in the vaadin-time-picker directory, run npm install and then bower install to install dependencies.

  4. Run polymer serve --open, browser will automatically open the component API documentation.

  5. You can also open demo or in-browser tests by adding demo or test to the URL, for example:

Running tests from the command line

  1. When in the vaadin-time-picker directory, run polymer test

Following the coding style

We are using ESLint for linting JavaScript code. You can check if your code is following our standards by running gulp lint, which will automatically lint all .js files as well as JavaScript snippets inside .html files.

Contributing

To contribute to the component, please read the guideline first.

License

Apache License 2.0

Vaadin collects development time usage statistics to improve this product. For details and to opt-out, see https://github.com/vaadin/vaadin-usage-statistics.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • HTML 90.5%
  • JavaScript 9.5%