tags
- Introduction
Object Tags
- Audio
- HyperText
- Image
- Paragraphs
- Table
- Text
- TimeSeries
- Video
Control Tags
- Brush
- BrushLabels
- Choice
- Choices
- DateTime
- Ellipse
- EllipseLabels
- HyperTextLabels
- KeyPoint
- KeyPointLabels
- Label
- Labels
- List
- Number
- Pairwise
- ParagraphLabels
- Polygon
- PolygonLabels
- Ranker
- Rating
- Rectangle
- RectangleLabels
- Relation
- Relations
- Shortcut
- Taxonomy
- TextArea
- TimeSeriesLabels
- VideoRectangle
Visual & Experience Tags
- Collapse
- Filter
- Header
- Repeater
- Style
- View
Filter
Use the Filter tag to add a filter search for a large number of labels or choices. Use with the Labels tag or Choices tag.
Parameters
Param | Type | Default | Description |
---|---|---|---|
[placeholder] | string |
""Quick Filter"" |
Placeholder text for filter |
[minlength] | number |
3 |
Size of the filter |
[style] | string |
CSS style of the string | |
[hotkey] | string |
Hotkey to use to focus on the filter text area |
Example
Add a filter to labels for a named entity recognition task
<View>
<Filter name="filter" toName="ner"
hotkey="shift+f" minlength="0"
placeholder="Filter" />
<Labels name="ner" toName="text" showInline="false">
<Label value="Person" />
<Label value="Organization" />
</Labels>
<Text name="text" value="$text" />
</View>
Couldn't find what you were looking for? Please let us know on
Slack
If you found an error, you can file an issue on GitHub!

If you found an error, you can file an issue on GitHub!