Plugin for easepick.
npm install @easepick/lock-plugin
> This package does not need to be installed if you are using @easepick/bundle.
Adds the ability to disable days for selection.
https://easepick.com/packages/lock-plugin
| Name | Type | Default | Description
| --- | :---: | :---: | ---
| minDate | Date
string
number | null | The minimum/earliest date that can be selected.
Date Object or Unix Timestamp (with milliseconds) or ISO String.
| maxDate | Date
string
number | null | The maximum/latest date that can be selected.
Date Object or Unix Timestamp (with milliseconds) or ISO String.
| minDays | number | null | The minimum days of the selected range.
| maxDays | number | null | The maximum days of the selected range.
| selectForward | boolean | false | Select second date after the first selected date.
| selectBackward | boolean | false | Select second date before the first selected date.
| presets | boolean | true | Disable unallowed presets (when PresetPlugin is included).
| inseparable | boolean | false | Disable date range selection with locked days.
| filter | function | null | Lock days by custom function.