1.2.0 • Published 3 years ago
@arwinvdv/lock-plugin v1.2.0
@arwinvdv/lock-plugin
This package does not need to be installed if you are using @arwinvdv/bundle.
Adds the ability to disable days for selection.
Documentation
https://easepick.com/packages/lock-plugin
Options
| 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. |
1.2.0
3 years ago