Skip to contents

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 id of the ds_dialog() to open.

session

Shiny session object.

Value

Called for side effects.

Examples

if (FALSE) { # \dontrun{
observeEvent(input$open_btn, {
  show_ds_dialog("confirm-dialog")
})
} # }