toloka.client.project.template_builder.actions.ToggleActionV1
| Source code
ToggleActionV1( self, data: Optional[Union[BaseComponent, RefComponent]] = None, *, version: Optional[str] = '1.0.0')
The action toggles the value of a boolean data field.
For more information, see action.toggle.
Parameters | Type | Description |
---|---|---|
data | Optional[Union[BaseComponent, RefComponent]] | The data field. |
Last updated: August 28, 2023