Function zng_wgt_layer::popup::on_popup_close_requested

source ·
pub fn on_popup_close_requested(
    child: impl UiNode,
    handler: impl WidgetHandler<PopupCloseRequestedArgs>,
) -> impl UiNode
Expand description

P Closing popup event.

Requesting propagation().stop() on this event cancels the popup close.

§Preview

You can preview this event using on_pre_popup_close_requested. Otherwise the handler is only called after the widget content has a chance to stop propagation.

§Async

You can use async event handlers with this property.