chrisdavies / tiny-date-picker

A small, modern, dependency-free date picker
https://chrisdavies.github.io/tiny-date-picker/
415 stars 87 forks source link

Allow options for DateRangePicker instance #78

Closed Djules closed 6 years ago

Djules commented 6 years ago

Options can now be passed to the DateRangePicker, as per the doc:

Any options that you would have passed to TinyDatePicker can be passed to the DateRangePicker, but with a twist:

DateRangePicker('.cls', {
  startOpts: {}, // The options passed to the start date picker
  endOpts: {}, // The options passed to the end date picker
});