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 | Type | Description |
---|---|---|
items | Optional[Union[BaseComponent, List[Union[BaseComponent, Item]]]] | List items. |
min_width | Optional[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. |
hint | Optional[Any] | A hint text. |
label | Optional[Any] | A label above the component. |
validation | Optional[BaseComponent] | Validation rules. |
Last updated: August 28, 2023