zng::drag_drop

Function on_drag_leave

source
pub fn on_drag_leave(
    child: impl UiNode,
    handler: impl WidgetHandler<DragHoveredArgs>,
) -> impl UiNode
Expand description

P Dragging cursor exited the widget area and the widget is enabled.

§Preview

You can preview this event using on_pre_drag_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.