---
title: Handling Year Click in Year Selection
description: Learn how to handle clicks on the year in the year list. Get information about the selected year and its number.
section: 5. Action Handlers
---

# Handling Year Click in Year Selection

Just like selecting a month, you can select a year by clicking on the year header in the calendar.

When a year is clicked from the list, you can get information about the selected element that was clicked, as well as the year number.

<Sandbox example="handle-click-on-the-year-in-the-year-selection" />
