Gets or sets the time interval of a view cell in milliseconds.
Namespace: MindFusion.Common.UI
File: DayView.js
SyntaxJavaScript
Copy Code
|
|---|
get interval() {} |
Number. The time interval in milliseconds.
ExampleThe 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.
JavaScript
Copy Code
|
|---|
var u = MindFusion.Common.UI; var calendar = u.Calendar(document.getElementById("calendar")); //1 hour in milliseconds |
See Also