Skip to main content

bind_tree

Function bind_tree 

Source
pub fn bind_tree(node: &UiNode, ctx: &ResolveContext<'_>) -> Option<UiNode>
Expand description

The BIND pass a renderer runs over an expanded tree for one data model: every prop resolved along its schema (resolve_node_props: DATA props verbatim), every style value, recipe prop and accessibility value resolved, a node whose visible resolves falsy dropped with its subtree, visible itself removed. Actions stay unresolved (they evaluate at press time, run_action); a template and the slots of a ROW-SCOPED component (Table cells) stay UNBOUND — the painter binds them per item / per row (bind_row_slot). Pure; fixtures/bind-time.json locks it.