Toloka documentation


toloka.client.project.template_builder.plugins.TextAnnotationHotkeysPluginV1 | Source code

    labels: Optional[Union[BaseComponent, List[str]]] = None,
    remove: Optional[Union[BaseComponent, str]] = None,
    version: Optional[str] = '1.0.0'

Use this to set keyboard shortcuts for the field.text-annotation component.

Parameters Description

Parameters Type Description
labels Optional[Union[BaseComponent, List[str]]]

Keyboard shortcuts for selecting categories. They're assigned to buttons with categories in the order they're shown.

remove Optional[Union[BaseComponent, str]]

Use this property to allow a Toloker to deselect an entire line or part of it. The key that you assign to this property will deselect.