Function zng::touch::on_touch_start
source · pub fn on_touch_start(
child: impl UiNode,
handler: impl WidgetHandler<TouchInputArgs>,
) -> impl UiNode
Expand description
P
Touch contact started over the widget, it is enabled and cursor capture allows it.
§Preview
You can preview this event using on_pre_touch_start
.
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.