| hide_ds_dialog | R Documentation |
Sends a message to the browser to call close() on a ds_dialog() element.
hide_ds_dialog(id, session = shiny::getDefaultReactiveDomain())
id |
The |
session |
Shiny session object. |
Called for side effects.
## Not run:
observeEvent(input$cancel_btn, {
hide_ds_dialog("confirm-dialog")
})
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.