v3.0.3
Calendar Types

Multiple

The 'multiple' calendar type displays multiple months, allowing you to select days in each of them. This type of calendar is useful when the user needs to select multiple dates across different months. To do this, you need to use the selectionDatesMode parameter and set its value to 'multiple'.

Example code for creating a calendar with the 'multiple' type:

If you need to select date ranges, you can use the selectionDatesMode parameter and set its value to 'multiple-ranged'. This allows you to select date ranges instead of individual days.

When the selectionDatesMode parameter is set to 'multiple-ranged', for performance optimization, the array of selected dates contains only the start and end dates. You can disable this and get the full list of selected dates using enableEdgeDatesOnly.