pub fn on_touch_tap(
child: impl UiNode,
handler: impl WidgetHandler<TouchTapArgs>,
) -> impl UiNode
Expand description
P
Touch tap on the widget and it is enabled.
§Preview
You can preview this event using on_pre_touch_tap
.
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.