toloka.client.project.template_builder.actions.NotifyActionV1.Payload
| Source code
Payload( self, content: Optional[Any] = None, theme: Optional[Union[BaseComponent, Theme]] = None, *, delay: Optional[Union[BaseComponent, float]] = None, duration: Optional[Union[BaseComponent, float]] = None)
Popup parameters.
Parameters | Type | Description |
---|---|---|
content | Optional[Any] | Popup content. You can assign text or other components to the |
theme | Optional[Union[BaseComponent, Theme]] | A background color. |
delay | Optional[Union[BaseComponent, float]] | A delay in milliseconds before showing the popup. |
duration | Optional[Union[BaseComponent, float]] | A duration in milliseconds of showing the popup. It includes the delay. |
Last updated: August 28, 2023