The component displays several data blocks of the same width on a single horizontal panel. For example, you can use this to compare several photos.
You can add selection buttons or a field for comment under the compared elements.
View exampleDifferences from the layout.compare component:
Name | Type | Description |
---|---|---|
type * | "layout.side-by-side" | Set component type. |
controls * | view | Components that let Tolokers perform the required actions. For example: field.checkbox-group or field.button-radio-group. |
items * | array | An array of data blocks. |
items[] | view | A component for data output or input. For example, view.image. |
minItemWidth | number | The minimum width of a data block, at least 400 pixels. |
validation | condition | Validation based on condition. |
Last updated: March 29, 2023