zng::popup

Function close_delay

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

P Delay awaited before actually closing when popup close is requested.

You can use this delay to await a closing animation for example. This property sets is_close_delaying while awaiting the delay.