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