💢 Usage example
biletiki.vanilla-calendar.pro — a website example for searching for flight tickets and hotels using vanilla-calendar.
Default Selected Days, Month, and Year
The calendar allows you to explicitly specify default selected days, as well as a month and year that will be displayed independently of the current date.
The example below demonstrates setting default selected days, month, and year.
This is useful if you need to preselect specific dates and set a particular month and year during the calendar initialization.