Initializes a new instance of the YearView class.
Namespace: MindFusion.Common.UI
File: YearView.js
JavaScript Copy Code |
---|
function YearView ([element]) |
HTMLElement. The control's associated Dom element.
The following code creates a new Calendar instance using a reference to an HTML div with an id "calendar". The view is set to YearView.
JavaScript Copy Code |
---|
var u = MindFusion.Common.UI; var calendar = u.Calendar(document.getElementById("calendar")); |