Text

Text tag shows an Text markup that can be labeled

Parameters

Param Type Default Description
name string name of the element
value string value of the element
[valueType] text | url text how to treat value — as data or as url with data to load from
[saveTextResult] none | no | yes none whether to save text to value or not; none: yes for valueType “text” and no for “url”
[selectionEnabled] boolean true enable or disable selection
[highlightColor] string hex string with highlight color, if not provided uses the labels color
[granularity] symbol | word symbol control per symbol or word selection
[showLabels] boolean true show labels next to the region
[encoding] none | base64 | base64unicode none decode value from encoded string

Example

<View>
  <Text name="text-1" value="$text" granularity="symbol" highlightColor="#ff0000" />
</View>