OpenCloseActionV1

toloka.client.project.template_builder.actions.OpenCloseActionV1 | Source code

OpenCloseActionV1(
self,
view: Optional[Union[BaseComponent, RefComponent]] = None,
*,
version: Optional[str] = '1.0.0'
)

The action changes the display mode of another component.

It can expand an image to a full screen or collapse a section.

For more information, see action.open-close.

Parameters description

ParametersTypeDescription
viewOptional[Union[BaseComponent, RefComponent]]

References the component to perform the action with.

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