ListΒΆ
-
/libs/granite/ui/components/foundation/layouts/list
The layout to render list.
Each item can be any component. It supports a standard
layoutConfig
node with the following properties:- granite:LayoutsListItemLayoutconfig
- interactiveboolean
true
to have mouse interaction effect.
The items of the list are specified using ItemDataSource.
Example:
+ mylist - sling:resourceType = "granite/ui/components/foundation/container" + layout - sling:resourceType = "granite/ui/components/foundation/layouts/list" + items + item1 - sling:resourceType = "granite/ui/components/foundation/container" + layoutConfig - interactive = true + item2 - sling:resourceType = "granite/ui/components/foundation/container"