Vanilla web component wrapper around pikaday date picker
Vanilla web component wrapper around the lightweight pikaday date picker. If you need to:
- Place a date picker in each row of a large grid, and
- 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
$ 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.
Was this helpful? Need more help?
Leave a comment or a question below. You can also join the chat on Discord or ask questions on StackOverflow.
- MIT License
- Polymer 3.0+ in 0.0.3
- Browser Independent