Search
YearView Class
See Also
 






Displays a year, represented by a grid of month cells.

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

 Syntax

JavaScript  Copy Code

// class
YearView.prototype = {}

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

JavaScript  Copy Code

var u = MindFusion.Common.UI;

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

 Inheritance Hierarchy

MindFusion.Common.UI.UIControl
    MindFusion.Common.UI.DateTimeView
        MindFusion.Common.UI.YearView

 See Also