Search
Location.zipCode Property
See Also
 






Gets or sets the zip code of the location.

Namespace: MindFusion.Scheduling
File: Location.js

 Syntax

JavaScript  Copy Code

get zipCode() {}

 Property Value

A String that represents the zip code.

 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