IsControl: Boolean
The IsControl property determines whether title is a control.
Available values:
true. Title is a control (default).
false. Title is not a control.
Use JSON or the setIsControl method to set the property value and the getIsControl method to get the property value.
To execute the example, the HTML page must contain the ExpressBox component named expressBox (see Example of Creating the ExpressBox Component). To show the title, click the Title button on the Home tab. Check if title is a control:
// Get title var title = expressBox.getDataView().getTitleView(); // Check if title is control if (title.getIsControl()) { console.log("Title is control"); } else { console.log("Title is not a control"); }
As a result the console displays check result:
Title is a control
See also: