Function zng::gesture::on_any_triple_click

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

P On widget triple click from any source and the widget is enabled.

This raises for all possible sources of CLICK_EVENT, but only when the click count is three. Use on_triple_click to handle only primary button clicks.

§Preview

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