Initializes a new instance of the Calendar class.
Namespace: MindFusion.Scheduling
File: Calendar.js
JavaScript Copy Code |
---|
function Calendar (element) |
The element this Calendar is associated with.
Below is an example how you create a Calendar in code. The code below assumes you have initialized an HTML5 Canvas object in a webpage with the id "calendar".
JavaScript Copy Code |
---|
var p = MindFusion.Scheduling; // create a new instance of the calendar calendar.theme = "light"; |