on_pre_touch_input

Function on_pre_touch_input 

Source
pub fn on_pre_touch_input(
    child: impl IntoUiNode,
    handler: Handler<TouchInputArgs>,
) -> UiNode
Expand description

P Touch contact started or ended over the widget, it is enabled and cursor capture allows it.

ยงRoute

This event property uses the preview route, that is, the handler is called before the children widget handlers and before the $pn_ident handlers.