Skip to main content

yearSelected

fires after a year was selected in the calendar

yearSelected: (year: number) => void;

Parameters:

year: number - the number of the selected year

Example

calendar.events.on("YearSelected", function(year) {    console.log("Selected year: " + year);});

Related sample: Calendar. Events