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