is_focused

Function is_focused 

Source
pub fn is_focused(id: impl Into<Id>) -> Task<bool>
Expand description

Returns whether the widget with the given [Id] is focused or not.