Function zng::touch::is_touched_from_start

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

P If a touch contact that started over the widget is over it and it is enabled.

This state property does not consider pointer capture, if the pointer is captured by the widget but is not actually over the widget this is false, use is_cap_touched_from_start to include the captured state.

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