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.

Date Management

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.