-
Guide
Tags
API
What's new
tags
- Introduction
Objects
- Audio
- AudioPlus
- HyperText
- Image
- Paragraphs
- Text
- TimeSeries
Controls
- BrushLabels
- Choice
- Choices
- Ellipse
- EllipseLabels
- HyperTextLabels
- KeyPoint
- KeyPointLabels
- Label
- Labels
- List
- Pairwise
- ParagraphLabels
- Polygon
- PolygonLabels
- Ranker
- Rating
- Rectangle
- RectangleLabels
- Relation
- Relations
- Shortcut
- TextArea
- Taxonomy
- TimeSeriesLabels
- Filter
Visual
- 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>