Search
Contact.phone Property
See Also
 






Gets or sets the phone of the contact.

Namespace: MindFusion.Scheduling
File: Contact.js

 Syntax

JavaScript  Copy Code

get phone() {}

 Property Value

A String that represents the phone.

 Example

JavaScript  Copy Code

var p = MindFusion.Scheduling;

// create a new instance of the calendar
var calendar = new p.Calendar(document.getElementById("calendar"));

// add some contacts to the schedule.contacts collection
var resource = new p.Contact();
resource.firstName = "Emmy";
resource.lastName = "Noether";
resource.address = "1, Parkway str. Cambridge, MA";
resource.email = "e.noether@global-corp.com";
resource.phone = "(+1) 721 66 451 19";

calendar.schedule.contacts.add(resource);

 See Also