tags
- Introduction
Objects
- Audio
- AudioPlus
- HyperText
- Image
- Text
Controls
- BrushLabels
- Choice
- Choices
- Ellipse
- EllipseLabels
- HyperTextLabels
- KeyPoint
- KeyPointLabels
- Label
- Labels
- List
- Pairwise
- Polygon
- PolygonLabels
- Ranker
- Rating
- Rectangle
- RectangleLabels
- Relation
- Relations
- Shortcut
- TextArea
- Filter
Visual & Experience
- Header
- Style
- Table
- View
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>