UNPKG

pickadate

Version:

The composable date & time picker.

43 lines (26 loc) • 3.03 kB
# pickadate.js The composable date & time picker šŸ•° <sup>[`future`](https://github.com/amsul/pickadate.js/tree/future) branch:</sup> [![Build status](https://travis-ci.org/amsul/pickadate.js.svg?branch=future)](https://travis-ci.org/amsul/pickadate.js) [![Coverage Status](https://coveralls.io/repos/github/amsul/pickadate.js/badge.svg?branch=future)](https://coveralls.io/github/amsul/pickadate.js?branch=future) ### Example Write this: ```js const element = document.getElementById('pickadate') const picker = pickadate.create() pickadate.render(element, picker) ``` To render this: ![](docs/date-picker.png) <br /> ## Contributors <!-- ALL-CONTRIBUTORS-LIST:START - Do not remove or modify this section --> <!-- prettier-ignore --> | [<img src="https://avatars3.githubusercontent.com/u/685051?v=4" width="100px;"/><br /><sub><b>amsul</b></sub>](http://amsul.ca)<br />[šŸ’¬](#question-amsul "Answering Questions") [šŸ“](#blog-amsul "Blogposts") [šŸ›](https://github.com/Amsul/pickadate.js/issues?q=author%3Aamsul "Bug reports") [šŸ’»](https://github.com/Amsul/pickadate.js/commits?author=amsul "Code") [šŸŽØ](#design-amsul "Design") [šŸ“–](https://github.com/Amsul/pickadate.js/commits?author=amsul "Documentation") [šŸ’”](#example-amsul "Examples") [šŸ‘€](#review-amsul "Reviewed Pull Requests") [āš ļø](https://github.com/Amsul/pickadate.js/commits?author=amsul "Tests") [šŸŒ](#translation-amsul "Translation") [āœ…](#tutorial-amsul "Tutorials") | [<img src="https://avatars1.githubusercontent.com/u/827205?v=4" width="100px;"/><br /><sub><b>Daniel Ruf</b></sub>](https://daniel-ruf.de)<br />[šŸ’¬](#question-DanielRuf "Answering Questions") [šŸ›](https://github.com/Amsul/pickadate.js/issues?q=author%3ADanielRuf "Bug reports") [šŸ’»](https://github.com/Amsul/pickadate.js/commits?author=DanielRuf "Code") [šŸ‘€](#review-DanielRuf "Reviewed Pull Requests") | [<img src="https://avatars3.githubusercontent.com/u/5395567?v=4" width="100px;"/><br /><sub><b>Joseph Rex</b></sub>](https://josephrex.me)<br />[šŸ’¬](#question-josephrexme "Answering Questions") [šŸ›](https://github.com/Amsul/pickadate.js/issues?q=author%3Ajosephrexme "Bug reports") [šŸ’»](https://github.com/Amsul/pickadate.js/commits?author=josephrexme "Code") [šŸ‘€](#review-josephrexme "Reviewed Pull Requests") | [<img src="https://avatars2.githubusercontent.com/u/4886073?v=4" width="100px;"/><br /><sub><b>Johnson Su</b></sub>](https://johnsonsu.com)<br />[šŸ’»](https://github.com/Amsul/pickadate.js/commits?author=johnsonsu "Code") [šŸ¤”](#ideas-johnsonsu "Ideas, Planning, & Feedback") | | :---: | :---: | :---: | :---: | <!-- ALL-CONTRIBUTORS-LIST:END --> šŸ‘‹ Interested becoming a contributor too? Awesome! This project follows the [all-contributors](https://github.com/kentcdodds/all-contributors) specification. Contributions of any kind are welcome! <br /> ## License Licensed under [MIT](https://raw.githubusercontent.com/amsul/pickadate.js/master/LICENSE.md). Originally authored by [Amsul](http://twitter.com/amsul_).