Show Alert in Shiny apps
1 2 3 4 5 6 7 8 9 10 11 12 13 14 |
title, message |
title and message of the alert |
type |
options are |
onConfirm |
R function to call upon confirmation |
inputId |
input ID |
closeOnEsc, closeOnClickOutside |
whether to easy close the modal |
html |
whether not to escape the message |
showCancelButton |
whether to show dismiss button |
confirmButtonText |
text of confirm button |
session |
shiny session |
fancy |
whether try to use fancy version |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.