list
This component is very similar to the jig.list the only exception is that this list component can be used in a jig.default with other items, whereas the jig.list is a dedicated to a list only. With this component, you can typically combine a list with other components. Another difference is that jig.list automatically display lists on the widget, which is not true with lists on a jig.default.
List item
Product item
Stage
As far as the functionality goes, the same list options are available as with the List Jig where the list itself can either be a list of values with list items or it can be one of the following:
Core Structure | |
data | The items you want to show in the list. |
item | There is a list of components available to use: If you use the list component in a jig.composite, the maximum number of displayed items is 8. If you set the maximumItemsToRender to a higher number, the rest of the list will display after clicking on the 'Show more' option. |
maximumItemsToRender | The number of items you would like to display in your list. |
Other options | |
filter | Allows you to create lists filtered by a key/value. |
isHorizontal | The boolean value that transforms the list into a horizontal one. |
isSearchable | The boolean value which allows you to add a search bar on the top of your list. |
onShowMorePress | Action to be performed when you press on the show more button. This is type: action.go-to with a linkTo: option. |
- Developer reference