modeChange
fires on change of the calendar mode
modeChange: (mode: string) => void;
Parameters:
mode: string
- the calendar mode ("calendar", "year", "month", "timepicker")
Example
calendar.events.on("modeChange", function(mode) {
console.log("Selected mode: " + mode);
});
Related sample: Calendar. Events