MonthCalendar.ModeChanged

Syntax

ModeChanged: function (sender, args)

Parameters

sender. Event source.

args. Event information.

Description

The ModeChanged event occurs on changing the calendar display mode.

Example

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:

MonthCalendar