Author: | hasinaxp |
---|---|
Views Total: | 1,583 views |
Official Page: | Go to website |
Last Update: | May 13, 2021 |
License: | MIT |
Preview:

Description:
A dead simple, plug-and-play date picker component written in Vanilla JavaScript.
How to use it:
1. Download the package and import the date picker’s files into the document.
<link rel="stylesheet" href="./datepicker.css" /> <script src="./datepicker.js"></script>
2. Attach the date picker to an input field. That’s it.
<input type="text" id="datepicker" class="datepicker" />
let datepicker = new DatePicker(document.getElementById('datepicker'));