Skip to main content

focus_auto

Function focus_auto 

Source
pub fn focus_auto<T>() -> Task<T>
Expand description

Focuses the first widget marked for auto-focus.

If no auto-focus widget is found, focuses the first focusable widget instead. Use this after page transitions to automatically focus the appropriate widget.