This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| /** | |
| * DateRangePicker — zero-dependency, framework-portable | |
| * Works standalone, with Alpine.js, Vue, React (via ref), Livewire, or any JS env. | |
| * | |
| * Usage (vanilla): | |
| * const picker = new /* The above code is a comment block in JavaScript. It appears to be | |
| documenting or describing a component or feature called "DateRangePicker". | |
| The code is enclosed in triple hash symbols ( | |
| * DateRangePicker('#my-input', { ...options }); | |
| * picker.on('apply', ({ start, end }) => console.log(start, end)); |