A base class for calendar views.
Namespace: MindFusion.Common.UI
File: DateTimeView.js
JavaScript Copy Code |
---|
// class |
The following code creates a Calendar and handles its viewChanged event to check if the view is changed to DayView:
JavaScript Copy Code |
---|
var ui = MindFusion.UI; var calendar = new ui.Calendar(document.querySelector("#cal")); function handleViewChanged(sender, args) //if the view has been changed to DayView |
MindFusion.Common.UI.UIControl
MindFusion.Common.UI.DateTimeView
MindFusion.Common.UI.DayView
MindFusion.Common.UI.DecadeView
MindFusion.Common.UI.MonthView
MindFusion.Common.UI.YearView