Tiny Date Picker
A light-weight date picker with zero dependencies.
- Zero dependencies
- Roughly 3.5KB minified and gzipped
- Mobile-friendly/responsive
- Supports multiple languages
- TinyDatePicker demo
Installation
npm install --save tiny-date-picker
Usage
// Import the picker
import tinyDatePicker from 'tiny-date-picker';
// Create a date picker and associate it with a textbox.
tinyDatePicker({ input: document.querySelector('input') });
Options
The options are fairly well commented in types.ts.
Previous versions
If you're looking for 3.x docs, they can be found here.