on_drag_hovered

Function on_drag_hovered 

Source
pub fn on_drag_hovered(
    child: impl IntoUiNode,
    handler: Box<dyn FnMut(&DragHoveredArgs) -> HandlerResult + Send>,
) -> UiNode
Expand description

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

§Preview

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