zng::drag_drop

Function on_drag_end

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

P Draggable widget stopped dragging.

This event is always paired with on_drag_start first.

§Preview

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