MultiView Calendar Selection Modes
The MultiView Calendar initially operates in single selection mode. To switch to multiple or range selection, set the mode property of the Calendar to multiple or range.
Single Selection
To enable single selection, set the mode property to single. Selecting a date sets it as the value, which replaces the previous selection.
Multiple Selection
To enable multiple selection, set the mode property to multiple and pass an array of Date objects as the value. Selecting a date adds it to the selection, and selecting a date that is already selected removes it.
Range Selection
To enable range selection, set the mode property to range and pass an object with start and end keys as the value. The first selected date sets the start of the range and the second sets the end. To learn how a range is reversed, see Reverse Range.