Function zng_wgt_input::touch::on_disabled_touch_long_press
source · pub fn on_disabled_touch_long_press(
child: impl UiNode,
handler: impl WidgetHandler<TouchLongPressArgs>,
) -> impl UiNode
Expand description
P
Single touch contact was made and held in place for a duration of time (default 500ms) on
the widget and the widget is disabled.
§Preview
You can preview this event using on_pre_disabled_touch_long_press
.
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.