toloka.client.project.template_builder.layouts.BarsLayoutV1
| Source code
BarsLayoutV1( self, content: Optional[BaseComponent] = None, *, bar_after: Optional[BaseComponent] = None, bar_before: Optional[BaseComponent] = None, validation: Optional[BaseComponent] = None, version: Optional[str] = '1.0.0')
A layout with top and bottom bars.
For more information, see layout.bars.
Parameters | Type | Description |
---|---|---|
content | Optional[BaseComponent] | The main content. |
bar_after | Optional[BaseComponent] | The bar displayed below the main content. |
bar_before | Optional[BaseComponent] | The bar displayed above the main content. |
validation | Optional[BaseComponent] | Validation rules. |
Last updated: August 28, 2023