Copyright © 2023 MIT License. | Design and development by Yury Uvarov.
💢 Usage example — a website example for searching for flight tickets and hotels using vanilla-calendar.

Action handlers

Handling Click on the Year in Year Selection

Similar to selecting a month, you can choose a year by clicking on the year header in the calendar.

When you click on a year from the list, you can obtain information about the selected element that was clicked and the year number.