Search
DecadeView Constructor
See Also
 






Initializes a new instance of the DecadeView class.

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

 Syntax

JavaScript  Copy Code

function DecadeView ([element])

 Parameters

element
Optional.

HTMLElement. The control's associated Dom element.

 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 DecadeView.

JavaScript  Copy Code

var u = MindFusion.Common.UI;

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

 See Also