Expand description
Provides a modal dialog component for overlaying content and intercepting user input.
This module defines a dialog provider for creating modal dialogs in UI applications. It allows rendering custom dialog content above the main application, blocking interaction with underlying elements and intercepting keyboard/mouse events (such as ESC or scrim click) to trigger close actions. Typical use cases include confirmation dialogs, alerts, and any scenario requiring user attention before proceeding.
The dialog is managed via DialogProviderArgs
and the dialog_provider
function.
See the example in dialog_provider
for usage details.
Structs§
- Dialog
Provider Args - Arguments for the
dialog_provider
component. - Dialog
Provider Args Builder - Builder for
DialogProviderArgs
. - Dialog
Provider State
Enums§
- Dialog
Provider Args Builder Error - Error type for DialogProviderArgsBuilder
Functions§
- dialog_
provider - A provider component that manages the rendering and event flow for a modal dialog.