Copyright © 2023 MIT License. | Design and development by Yury Uvarov.
💢 Usage example

biletiki.store — a website example for searching for flight tickets and hotels using vanilla-calendar.

Types of calendars

Multiple

The calendar type 'multiple' displays multiple months, allowing you to select days in each of them. This calendar type is useful when a user needs to choose multiple dates in different months, but for this, you need to use the settings.selection.day parameter and set its value to 'multiple'.

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

If you need to select date ranges in each month, you can use the settings.selection.day parameter and set its value to 'multiple-ranged'. This allows you to select date ranges, not just individual days.