Function zng_wgt_input::touch::on_touch_cancel

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

P Touch contact canceled over the widget, it is enabled and cursor capture allows it.

§Preview

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