pub fn on_mouse_leave(
child: impl IntoUiNode,
handler: Box<dyn FnMut(&MouseHoverArgs) -> HandlerResult + Send>,
) -> UiNodeExpand description
P Mouse is no longer over the widget or any descendant widget, the widget is enabled and cursor capture allows it.
§Preview
You can preview this event using on_pre_mouse_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.