fluent-date-range-picker
v1.2.2
Published
A user-friendly date range picker with flexible configurations.
Downloads
3
Maintainers
Readme
fluent-date-range-picker
A flexible date range picker library with a fluent interface.
Installation
Install the library using npm:
npm install fluent-date-range-picker
Usage
import FluentDateRangePicker from 'fluent-date-range-picker';
// Initialize date range picker
const datePicker = new FluentDateRangePicker(document.getElementById('dateRangePicker'));
Options
startDate
(optional): Initial start date for the date range picker. Defaults to the current date.endDate
(optional): Initial end date for the date range picker. Defaults to 7 days from the current date.format
(optional): Date format to display in the input fields. Defaults to 'yyyy-MM-dd'.
License
This project is licensed under the MIT License - see the LICENSE file for details.