LinkViewV1

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

LinkViewV1(
self,
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 action.open-link components.

To insert a link with a search query, use helper.search-query.

Parameters Description

ParametersTypeDescription
urlOptional[Any]

Link URL.

contentOptional[Any]

Link text displayed to the Toloker.

hintOptional[Any]

Hint text.

labelOptional[Any]

Label above the component.

validationOptional[BaseComponent]

Validation based on condition.

Toloka-Kit
OverviewGetting OAuth tokenQuick start
Recipes
Reference
toloka.client
toloka.async_client
toloka.autoquality [autoquality]
toloka.metrics
toloka.streaming