xtal-pika-day | Vaadin

Vanilla web component wrapper around pikaday date picker

Published on webcomponents.org

<xtal-pika-day>

Vanilla web component wrapper around the lightweight pikaday date picker. If you need to:

  1. Place a date picker in each row of a large grid, and
  2. Have it load quickly in IE11

this might be the best choice.

Install the Polymer-CLI

First, make sure you have the Polymer CLI and npm (packaged with Node.js) installed. Run npm install to install your element's dependencies, then run polymer serve to serve your element locally.

Be default, pikaday.css located in the same folder as this component will load (into non Shadow DOM). To use your own css, add a reference in document.head:

<head>
    <link rel="stylesheet" href="myCssFile.css" id="xtal_pika_day_css"/>
</head>

Viewing Your Element

$ polymer serve

Running Tests

$ polymer test

Your application is already set up to be tested via web-component-tester. Run polymer test to run your application's test suite locally.

Install

Link to this version
ImportedReleased 16 June 2018MIT License
Framework Support
Polymer 3.0+
Browser Independent
Install with
npm install xtal-pika-day"@0.0.3"
Run the above npm command in your project folder. If you have any issues installing, please contact the author.
Release notes - Version 0.0.3

Dependencies

  • @polymer/polymer#^3.0.0
  • pikaday#^1.7.0