Skip to main content

item

Function item 

Source
pub fn item<M, K, I: Into<K>>(key: I, title: impl IntoText<M>) -> NavItem<K>
Expand description

A selector item for a data-driven list: item(room.id, room.name).icon(res::images::room) (docs/navigation.md). Used inside the .items(signal, |t| …) mapper; the page it selects is built by the selector’s Selector::destination.

Day API ↩ Guides· daybrite.dev