Search
DayView.interval Property
See Also
 






Gets or sets the time interval of a view cell in milliseconds.

Namespace: MindFusion.Common.UI
File: DayView.js

 Syntax

JavaScript  Copy Code

get interval() {}

 Property Value

Number. The time interval in milliseconds.

 Example

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.

JavaScript  Copy Code

var u = MindFusion.Common.UI;

var calendar = u.Calendar(document.getElementById("calendar"));
calendar.view = new u.DayView();

//1 hour in milliseconds
calendar.interval = 3600000;

 See Also