zng_wgt_input::touch

Function on_touch_transform

source
pub fn on_touch_transform(
    child: impl UiNode,
    handler: impl WidgetHandler<TouchTransformArgs>,
) -> impl UiNode
Expand description

P Touch gesture to translate, scale or rotate happened over this widget.

§Preview

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