Function zng::touch::on_touch_leave

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

P Touch contact is no longer over the widget or any descendant and it is enabled.

§Preview

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