Litepicker (Enhanced Fork)
Enhanced fork of the lightweight date range picker with no dependencies. Added 'Today' button functionality to calendar footer UI, maintaining compatibility with multiple browsers and mobile devices while supporting plugins and keyboard accessibility.
Technologies Used
TypeScript JavaScript SCSS Date Picker Frontend
Project Documentation
from README.mdLitepicker (Forked)
This is a forked version of wakirin/Litepicker.
This fork is maintained by gusdeyw and may include modifications and enhancements not present in the original repository.
Recent Changes
- Added a 'Today' button to the calendar footer UI. When clicked, this button sets the date range to today (or today/tomorrow in range mode). Includes new logic, updated button text options and interfaces, and corresponding styles. (commit 981c2ae)
Litepicker
Date range picker - lightweight, no dependencies
Features
- No dependencies
- Single date or date range
- Show multiple months
- Min/Max days for select and/or Min/Max dates for select
- Select forward/backward
- Inline mode
- Repick date range
- Lock days
- Keyboard accessibility (with plugin)
- Mobile friendly (with plugin)
- Predefined ranges (with plugin)
- Multiple select (with plugin)
See more details in docs.
Documentation
Compatibility
Desktop
- IE 11 (required polyfills)
- Edge 17+
- Chrome 60+
- Firefox 52+
- Safari 10.1+
- Opera 48+
Mobile
- iOS 10+
- Safari
- Chrome
- Android 7+
- Chrome
- Firefox
- Samsung Browser
- UC Browser
Plugins
- keyboardnav - adds keyboard navigation.
- mobilefriendly - adds swipes (left/right) to switch months.
- ranges - adds predefined ranges.
- multiselect - adds multiple selection.