Function zng_wgt_input::gesture::on_triple_click

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

P On widget triple click with the primary button and the widget is enabled.

This raises only if the click is primary and the click count is three. Use on_any_double_click to handle double clicks from any button.

§Preview

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