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
[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] string "none base64

Example

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