Skip to content

Latest commit

 

History

History
28 lines (22 loc) · 1.25 KB

toloka.client.project.template_builder.layouts.BarsLayoutV1.md

File metadata and controls

28 lines (22 loc) · 1.25 KB

BarsLayoutV1

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 Description

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.