MonthCalendar.ShowTimeChanged

Syntax

ShowTimeChanged: function (sender, args)

Parameters

sender. Event source.

args. Event information.

Description

The ShowTimeChanged event occurs on changing the value of the MonthCalendar.ShowTime property.

Example

To execute the example, create the MonthCalendar component (see href="../../components/monthcalendar/example_monthcalendar.htm">Example of Creating the MonthCalendar Component). Add the ShowTimeChanged event handler:

MC.ShowTimeChanged.add(function (sender, args)

{

     alert("Time editor disappeared")

})

Input to the browser console:

MC.setShowTime(false)

Press the ENTER key.

After executing the example items for the date input are deleted from the calendar. The Time editor disappeared message is displayed.

See also:

MonthCalendar