yearSelected

fires after a year was selected in the calendar

void yearSelected(number year){ ... };

Parameters

yearnumberthe number of the selected year

Example

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

Related samples

Back to top