ui.modal_remove
=None) ui.modal_remove(session
Remove a modal dialog box.
modal_remove provides a way to remove a modal programmatically. Modals can also be removed manually by the user if a modal_button is provided, or if the modal is created with easy_close=True
.
Parameters
session : Optional[Session] = None
-
The Session instance that contains the modal to remove. If not provided, the session is inferred via get_current_session.
See Also
Examples
Loading...