Function zng::focus::on_focus_leave
source · pub fn on_focus_leave(
child: impl UiNode,
handler: impl WidgetHandler<FocusChangedArgs>,
) -> impl UiNode
Expand description
P
Widget or one of its descendants lost focus.
§Preview
You can preview this event using on_pre_focus_leave
.
Otherwise the handler is only called after the widget content has a chance to stop propagation.
§Async
You can use async event handlers with this property.