Skip to main content

selected

Function selected 

Source
pub fn selected(id: impl Into<Id>) -> Task<String>
Available on crate feature selectable-text only.
Expand description

Produces the text selected in the area with this id, which is empty when nothing is. Produces nothing when no such area is on screen.