Custom Dialog bound to a DOM element by id. See 'js/src/MuiDialogTriggerId.jsx'.
Open/close state is managed entirely client-side, so this works in Shiny apps,
Quarto documents, and static HTML without server logic.
Usage
Dialog.triggerId(triggerId, ...)
Arguments
- triggerId
HTML id of an existing DOM element that acts as the trigger to open the Dialog.
- ...
args to pass to element
Value
Object with `shiny.tag` class suitable for use in the UI of a Shiny app.