touch_active_config

Function touch_active_config 

Source
pub fn touch_active_config(
    child: impl IntoUiNode,
    config: impl IntoVar<TouchActiveConfig>,
) -> UiNode
Expand description

P Contextual configuration for is_touch_active.

Note that the TouchActiveConfig converts from duration, so you can set this to a time literal, like 5.secs(), directly.

This property sets the MOUSE_ACTIVE_CONFIG_VAR.