Skip to contents

Sends a message to the browser to call close() on a ds_dialog() element.

Usage

hide_ds_dialog(id, session = shiny::getDefaultReactiveDomain())

Arguments

id

The id of the ds_dialog() to close.

session

Shiny session object.

Value

Called for side effects.

Examples

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