-
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
Labels
Labels tag, create a group of labels
Parameters
Param | Type | Default | Description |
---|---|---|---|
name | string |
name of the element | |
toName | string |
name of the element that you want to label | |
[choice] | single | multiple |
single |
configure if you can select just one or multiple labels |
[maxUsages] | number |
maximum available usages | |
[required] | boolean |
false |
validation if label is required |
[requiredMessage] | string |
message to show if validation fails | |
[showInline] | boolean |
true |
show items in the same visual line |
Example
<View>
<Labels name="type" toName="txt-1">
<Label alias="B" value="Brand" />
<Label alias="P" value="Product" />
</Labels>
<Text name="txt-1" value="$text" />
</View>