biletiki.store — a website example for searching for flight tickets and hotels using vanilla-calendar.
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.
- Handling Click on a Month in the Month List
- Handling Click on the Arrows