Function zng_wgt::node::list_presenter
source · pub fn list_presenter<D: VarValue>(
list: impl IntoVar<ObservableVec<D>>,
item_fn: impl IntoVar<WidgetFn<D>>,
) -> impl UiNodeList
Expand description
Node that presents list
using item_fn
for each new list item.
The node’s children is the list mapped to node items, it is kept in sync, any list update is propagated to the node list.