Template list component
Template list is a component to display a dynamic list of repeated Freedom UI components on an app page based on template and specific conditions. Learn more: Render repeated Freedom UI components.
string type
Component type. "crt.TemplateList" for the Template list component.
string items
The name of the view model attribute that provides the list data.
string direction
The direction in which the list items are arranged.
Specifies the orientation and direction of the Template list components's main axis to which nested Freedom UI components align. By default, "row."
Available values
row | The nested components align horizontally. |
column | The nested components align vertically. |
number gap
Define the column and row spacing between nested Freedom UI components, in pixels.
array of objects template
Define the layout for each item in the list. The nested properties of the template property depend on the type of component to render.
array of strings classes
A list of CSS classes to customize the appearance and layout of the components to render.