cosmic::widget::text_input

Function focus

source
pub fn focus<Message: 'static>(id: Id) -> Task<Message>
Expand description

Produces a Task that focuses the TextInput with the given Id.