Gets or sets the maxmimum value displayed in the view.
Namespace: MindFusion.Common.UI
File: DayView.js
JavaScript Copy Code |
---|
get maxTime() {} |
Number. The maximum value in milliseconds.
The following code creates a new Calendar instance using a reference to an HTML div with an id "calendar". The view is set to DayView and the interval is set to one hour. The max time is 19 o'clock.
JavaScript Copy Code |
---|
var u = MindFusion.Common.UI; var calendar = u.Calendar(document.getElementById("calendar")); //1 hour in milliseconds //max time is 19 o'clock |