Toloka documentation


toloka.client.project.template_builder.view.LinkViewV1 | Source code

    url: Optional[Any] = None,
    content: Optional[Any] = None,
    hint: Optional[Any] = None,
    label: Optional[Any] = None,
    validation: Optional[BaseComponent] = None,
    version: Optional[str] = '1.0.0'

Universal way to add a link.

This link changes color when clicked.

We recommend using this component if you need to insert a link without additional formatting.

If you want to insert a button that will open the link, use the view.action-button and components.

To insert a link with a search query, use

Parameters Description

Parameters Type Description
url Optional[Any]

Link URL.

content Optional[Any]

Link text displayed to the user.

hint Optional[Any]

Hint text.

label Optional[Any]

Label above the component.

validation Optional[BaseComponent]

Validation based on condition.