toloka.client.project.template_builder.layouts.CompareLayoutItem
| Source code
CompareLayoutItem( self, content: Optional[BaseComponent] = None, controls: Optional[BaseComponent] = None)
The compared element.
Parameters | Type | Description |
---|---|---|
content | Optional[BaseComponent] | The content of the element that's being compared. Add images, audio recordings, videos, links, or other types of data. |
controls | Optional[BaseComponent] | Configure the input fields to make the Toloker select an item. |