-
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
Choice
Choice tag represents a single choice
Parameters
Param | Type | Description |
---|---|---|
value | string |
choice value |
[selected] | boolean |
if this label should be preselected |
[alias] | string |
alias for the label |
[style] | style |
css style of the checkbox element |
[hotkey] | string |
hotkey |
Example
<View>
<Choices name="gender" toName="txt-1" choice="single">
<Choice value="Male" />
<Choice value="Female" />
</Choices>
<Text name="txt-1" value="John went to see Marry" />
</View>