Search
Location.state Property
See Also
 






Gets or sets the state of the location.

Namespace: MindFusion.Scheduling
File: Location.js

 Syntax

JavaScript  Copy Code

get state() {}

 Property Value

String

 Example

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);

 See Also