Function zng_wgt_input::touch::on_touch_input

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

P Touch contact started or ended over the widget, it is enabled and cursor capture allows it.

§Preview

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