pub fn modal(child: impl UiNode, modal: impl IntoVar<bool>) -> impl UiNode
P Binds the modal window var with the property value.
P
modal
The binding is bidirectional and the window variable is assigned on init.