| show_ds_dialog | R Documentation |
Sends a message to the browser to call showModal() on a ds_dialog()
element already present in the UI.
show_ds_dialog(id, session = shiny::getDefaultReactiveDomain())
id |
The |
session |
Shiny session object. |
Called for side effects.
## Not run:
observeEvent(input$open_btn, {
show_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.