Nice Date Picker
Nice DatePicker with support for date ranges and no jquery dependency, easy styling and more.
Example
Use Setup
Install nice-date-picker
npm install nice-date-picker --save
UsAge
// import// or requirevar niceDatePicker =// or script<link rel="stylesheet" href="../nice-date-picker.css"><script src="../nice-date-picker.js"></script>
example
dom:document{documentinnerHTML='calendar1 your selected '+date;};dom:documentyear:2017month:5mode:'en'{documentinnerHTML='calendar2 your selected '+date;};
Options
Option | Description |
---|---|
dom | the outer wrapper for the calendar instance (html dom) |
year | calendar instance year |
month | calendar instance year |
mode | calendar instance Language default zh |
License
MIT