Sends a message to the browser to call showModal() on a ds_dialog()
element already present in the UI.
Usage
show_ds_dialog(id, session = shiny::getDefaultReactiveDomain())Arguments
- id
The
idof theds_dialog()to open.- session
Shiny session object.
Examples
if (FALSE) { # \dontrun{
observeEvent(input$open_btn, {
show_ds_dialog("confirm-dialog")
})
} # }