Skip to main content

bind_row_slot

Function bind_row_slot 

Source
pub fn bind_row_slot(
    slot: &UiNode,
    rows_prop: &Value,
    rows: &[Value],
    index: usize,
    ctx: &ResolveContext<'_>,
) -> Option<UiNode>
Expand description

A row-scoped slot cell bound for row index (src/dynamic.ts bindRowSlot + rowScope). rows_prop = the UNBOUND rows value: a binding → relative paths read the row at <its pointer>/<index> in the data model (and a set writes into it); a literal or a call → relative paths read inside rows[index] (a relative set writes nothing). index = the row’s index in rows as given, before any local sort.