Text: String
The Text property contains unformatted value of title text.
Use the setText method to set the property value, and the getText 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. Get unformatted value of title text:
// Get title var title = expressBox.getDataView().getTitleView(); // Get unformatted value of title text console.log("Unformatted value of title text: " + title.getText());
As a result the console displays unformatted value of title text:
Unformatted value of title text: &[DIMENSIONS.D_SRC], &[DIMENSIONS.D_SEP], &[DIMENSIONS.FACTS]
See also: