zng_wgt_input::drag_drop

Function on_drag_enter

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

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

§Preview

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