view.list

Block for displaying data in a list. List may contain an unlimited number of view.* components.

View example
Components used in the example

Component properties

NameTypeDescription
type*"view.list"Set component type.
labelstringLabel above the component.
directionstring

Determines the direction of the list:

  • vertical (default) — vertical list.
  • horizontal — horizontal list.
hintstringHint text.
items*arrayArray of list items.
items[]viewList item.
rtlobjectIn some languages, like Arabic or Hebrew, text is written from right to left. Use this property to set up the correct display mode for the component.

View example

Learn more about RTL languages.
rtl.modestring

Display mode:

  • ltr — left to right.
  • rtl — right to left.

    The chosen value will be added to the dir attribute in the component's HTML code. Learn more about dir.
sizestringSpecifies the size of the margins between elements. Acceptable values in ascending order: s, m (default value).
validationconditionValidation based on condition.
Contact support

Last updated: March 30, 2023

Introduction
Getting started
Important tips
Useful recommendations
Working with Toloka
Projects
Pools
Tasks
Results
Project analysis
Toloka settings
Task interface
Template Builder
HTML/CSS/JS editor
Help and support
FAQTroubleshootingSupportGlossary