Skip to main content

monthSelected

fires after a month was selected in the calendar

monthSelected: (month: number) => void;

Parameters:

month: number - the number of the selected month (from 0 to 11)

Example

calendar.events.on("MonthSelected", function(month) {   console.log("Selected month: " + (month + 1));});

Related sample: Calendar. Events