pub fn on_drag_hovered(
child: impl UiNode,
handler: impl WidgetHandler<DragHoveredArgs>,
) -> impl 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.