We added a new API to the datePicker(), onViewChange() .
The onViewChange() API adds an event handler that triggers when the date picker’s view changes.
Some things you can do when the date picker’s view changes:
-
Set the disabledDateRanges property using public Holiday dates.
-
Set the enabledDateRanges property using available booking slot dates.