zng::touch

Function is_cap_touched

source
pub fn is_cap_touched(
    child: impl UiNode,
    state: impl IntoVar<bool>,
) -> impl UiNode
Expand description

P If a touch contact point is over the widget, or is over a descendant, or is captured by it.

The value is always false when the widget is not ENABLED.