pub struct ListProps {
pub row_height: RowHeight,
pub selectable: bool,
pub multi_select: bool,
pub reorderable: bool,
}Expand description
Native recycling list (docs/list.md). The host owns scrolling + cell reuse; Day supplies
row content on demand through the injected ListSource (see Toolkit::attach_list).
Fields§
§row_height: RowHeight§selectable: boolWhether the native list reports row selection (Event::SelectionChanged with the row).
multi_select: boolWhether the native list allows selecting several rows at once. Where honored
(docs/list.md has the matrix), every selection change reports the FULL set via
Event::SelectionSet; single-selection backends keep reporting
Event::SelectionChanged and treat this as selectable.
reorderable: boolWhether rows can be drag-reordered. The toolkit enables its native drag machinery and
drives the ListSource::reorder seam (validate via can_move, commit via move_row);
probe Cap::ListReorder for per-backend support (docs/list.md).