Skip to main content

list_item

Function list_item 

Source
pub fn list_item<M>(title: impl Into<String>) -> Node<M>
Expand description

A row in a popover list: a network, a device, a window. Give it a subtitle, a leading icon, a trailing node at the far end (a lock, an info button), mark the one in use with selected, and make it clickable with on_press. A long title fades out at the end rather than wrapping.