Initializes a new instance of the Contact class.
Namespace: MindFusion.Scheduling
File: Contact.js
JavaScript Copy Code |
---|
function Contact () |
The following code creates a contact and adds it to the contacts collection of the schedule. The code assumes you have initialized a <div> element with id “calendar” in a web page that references the JavaScript file which contains this code.
JavaScript Copy Code |
---|
var p = MindFusion.Scheduling; // create a new instance of the calendar // add some contacts to the schedule.contacts collection |