text

Specifies the text contents of the Text component.

Type

String

Example

Text1.text = "Hello World";

Either syntax below can be used in component script:

text            // unqualified
Text1.text      // qualified

For onInit/onRefresh scripts, and for component and property scripts on other components, the second (qualified) form is required.