modeChange

fires on change of the calendar mode

void modeChange(string mode){ ... };

Parameters

modestringthe calendar mode ("calendar", "year", "month", "timepicker")

Example

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

Related samples

Back to top