zng_wgt_dialog

Function on_dialog_close_canceled

Source
pub fn on_dialog_close_canceled(
    child: impl UiNode,
    handler: impl WidgetHandler<DialogCloseCanceledArgs>,
) -> impl UiNode
Expand description

P Dialogs must only close using DIALOG.respond.

§Preview

You can preview this event using on_pre_dialog_close_canceled. 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.