1.2.0 • Published 1 year ago

@arwinvdv/lock-plugin v1.2.0

Weekly downloads
-
License
GPL-2.0-or-later
Repository
github
Last release
1 year ago

@arwinvdv/lock-plugin

npm version

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

NameTypeDefaultDescription
minDateDate string numbernullThe minimum/earliest date that can be selected. Date Object or Unix Timestamp (with milliseconds) or ISO String.
maxDateDate string numbernullThe maximum/latest date that can be selected. Date Object or Unix Timestamp (with milliseconds) or ISO String.
minDaysnumbernullThe minimum days of the selected range.
maxDaysnumbernullThe maximum days of the selected range.
selectForwardbooleanfalseSelect second date after the first selected date.
selectBackwardbooleanfalseSelect second date before the first selected date.
presetsbooleantrueDisable unallowed presets (when PresetPlugin is included).
inseparablebooleanfalseDisable date range selection with locked days.
filterfunctionnullLock days by custom function.