Gets the string identifier of the locale.
Namespace: MindFusion.Common
File: Locale.js
SyntaxJavaScript
Copy Code
|
|---|
get id() {} |
Type: String
String
The id.
ExampleThe following code checks the id of the locale property of a calendar:
JavaScript
Copy Code
|
|---|
| if(calendar.locale.id == "us-2") { //do something } |
See Also