zng::menu::sub

Function hover_open_delay

source
pub fn hover_open_delay(
    child: impl UiNode,
    delay: impl IntoVar<Duration>,
) -> impl UiNode
Expand description

P Delay a sub-menu must be hovered to open the popup.

Is 300.ms() by default.

This property sets the HOVER_OPEN_DELAY_VAR.