LabeledListViewV1

toloka.client.project.template_builder.view.LabeledListViewV1 | Source code

LabeledListViewV1(
self,
items: Optional[Union[BaseComponent, List[Union[BaseComponent, Item]]]] = None,
*,
min_width: Optional[Union[BaseComponent, float]] = None,
hint: Optional[Any] = None,
label: Optional[Any] = None,
validation: Optional[BaseComponent] = None,
version: Optional[str] = '1.0.0'
)

A list of components with labels placed on the left.

For more information, see view.labeled-list.

Parameters description

ParametersTypeDescription
itemsOptional[Union[BaseComponent, List[Union[BaseComponent, Item]]]]

List items.

min_widthOptional[Union[BaseComponent, float]]

The minimum width of the component. If the width is less than the specified value, the list is displayed in compact mode. Labels are placed above the items in this mode.

hintOptional[Any]

A hint text.

labelOptional[Any]

A label above the component.

validationOptional[BaseComponent]

Validation rules.

Last updated: August 28, 2023

Toloka-Kit
OverviewGetting API keyQuick start
Recipes
Reference
toloka.client
toloka.async_client
toloka.autoquality [autoquality]
toloka.metrics
toloka.streaming