ModeChanged: function (sender, args)
sender. Event source.
args. Event information.
The ModeChanged event occurs on changing the calendar display mode.
To execute the example, create the MonthCalendar component (see Example of Creating the MonthCalendar Component). Add the ModeChanged event handler:
MC.ModeChanged.add(function (sender, args)
{
alert("Mode was changed")
})
After executing the example on changing the calendar display mode the Mode was changed message is displayed.
See also: