Package Exports
- @easepick/lock-plugin
- @easepick/lock-plugin/dist/index.esm.js
- @easepick/lock-plugin/dist/index.umd.js
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (@easepick/lock-plugin) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
@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.
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. |