zng_wgt_input::drag_drop

Function is_drag_hovered

source
pub fn is_drag_hovered(
    child: impl UiNode,
    state: impl IntoVar<bool>,
) -> impl UiNode
Expand description

P If the dragging cursor is over the widget or a descendant and the widget is enabled.

The value is always false when the widget is not ENABLED, use is_drag_hovered_disabled to implement disabled hovered visuals.