Function zng_wgt::modal_includes

source ยท
pub fn modal_includes(
    child: impl UiNode,
    includes: impl IntoVar<IdSet<WidgetId>>,
) -> impl UiNode
Expand description

P Extra widgets that are allowed interaction by this widget when it is modal.

Note that this is only needed for widgets that are not descendants nor ancestors of this widget, but still need to be interactive when the modal is active.

See also modal_included if you prefer setting the modal widget id on the included widget.

This property calls insert_modal_include on the widget.