monthSelected

fires after a month was selected in the calendar

void monthSelected(number month){ ... };

Parameters

monthnumberthe number of the selected month (from 0 to 11)

Example

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

Related samples

Back to top