Function zng_wgt_input::mouse::on_mouse_up

source ·
pub fn on_mouse_up(
    child: impl UiNode,
    handler: impl WidgetHandler<MouseInputArgs>,
) -> impl UiNode
Expand description

P Mouse button released while the cursor if over the widget, the widget is enabled and cursor capture allows it.

§Preview

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