toloka.client.project.view_spec.ClassicViewSpec
| Source code
ClassicViewSpec( self, *, settings: Optional[ViewSpec.Settings] = None, script: Optional[str] = None, markup: Optional[str] = None, styles: Optional[str] = None, assets: Optional[Assets] = None)
A task interface defined with HTML, CSS and JS.
For more information, see the guide.
Parameters | Type | Description |
---|---|---|
markup | Optional[str] | HTML markup of the task interface. |
styles | Optional[str] | CSS for the task interface. |
script | Optional[str] | JavaScript code for the task interface. |
assets | Optional[Assets] | Links to external files. |
Last updated: August 28, 2023