Gets or sets the state of the location.
Namespace: MindFusion.Scheduling
File: Location.js
JavaScript Copy Code |
---|
get state() {} |
String
The following code creates a new Location and adds it to the list with locations of a calendar schedule.
JavaScript Copy Code |
---|
var p = MindFusion.Scheduling; location = new p.Location(); location.name = name; location.address = "1, King’s road"; location.city = "Cambridge"; location.country = "USA"; location.state = "MA"; location.zipCode = 12345; calendar.schedule.locations.add(location); |