List
Renders a list from an array. It must contain exactly oneListItem as the item template.
Signature
Attributes
Content
- Exactly one
ListItem. - Exactly one root element inside the
ListItem. - Items can bind
{Item.*}and{Index}.
Runtime behavior
- Parses the
Itemspath; a non-array value shows the empty state. - Renders at most 200 items; the rest are truncated.
- Each item has its own scope, so
Item/Indexdo not leak outside. - List items have no selection or click events; put a
Button/Linkinside the item when you need one.
Example: news list
Gotchas
Itemsmust point at an array; an object shows the empty state.- There is no virtual scrolling; more than 200 items are truncated.
- The item template takes a single root element; wrap multiple elements in
Column/Row/Container.