Skip to main content

Carousel list

The Carousel list component enables duplication of cards or rows with consistent structure in a carousel, allowing for containment of other components. By default, editing or moving a component will apply changes to all cards or rows, while still allowing customization and exceptions for unique values per component.


To add a component to a card, you can either click on Insert while you select the container, or you can move an existing component by copy/pasting it.

Editing or moving a component will apply changes to all cards or rows.

To customize the settings of components within each time, you can use iter.index and iter.value.

  • iter.index will retrieve the index number of each card (0, 1, 2 etc.).

  • iter.value.key will retrieve the value of each key defined in the items section.

iter.index

List components also support having inputs set inside them. Retrieve the values of each in the inputs field of the List component in the outputs menu.


The following section details Carousel list component's specific settings. For more details on the App editor, check the dedicated documentation or the App editor Quickstart:

Controls

This component can be controlled by frontend scripts using these functions:

NameParametersDescriptionExample
recomputeid: stringRecompute a component.recompute('a');
NameTypeConnectableTemplatableDefaultDescription
Itemsarraytruefalse3 itemsThe Carousel list items in JSON.
Timing Fonctionsselect ("linear", "ease", "ease-in", "ease-out", "ease-in-out")truefalse"linear"Sets how an animation progresses through the duration of each cycle, see https://developer.mozilla.org/en-US/docs/Web/CSS/animation-timing-function

Outputs

NameTypeDescription
resultanyThe result of the list component.
loadingbooleanThe loading state of the component.
inputsanyThe inputs of the component.