Raised when the selected date is changing.
Namespace: MindFusion.Common.UI
File: Calendar.js
SyntaxJavaScript
Copy Code
|
|---|
EventDispatcher selectedDateChanging |
Event DataThe event handler method receives the following arguments:
sender
A TabControl instance, which is the source of the event. This object will be passed to the handler function as the first argument.
args
A SelectedItemChangingEventArgs instance, which contains event data. This object will be passed to the handler function as the second argument.
RemarksThe cancel property of the SelectedItemChangingEventArgs class lets you stop the action.
ExampleThe following code creates a calendar and handles its selectedDateChanging event:
JavaScript
Copy Code
|
|---|
var calendar = new ui.Calendar(document.querySelector("#cal")); function handleValueChanging(sender, args) |
See Also