toastToggle | R Documentation |
Show or hide a toast.
toast_show(
id,
header = NULL,
body = NULL,
animation = TRUE,
auto_hide = TRUE,
delay = 5000L,
session = shiny::getDefaultReactiveDomain()
)
toast_hide(id, session = shiny::getDefaultReactiveDomain())
id |
ID of |
header , body |
Header and body of the toast to replace existing content. |
animation |
Whether to animate the toast. |
auto_hide |
Whether to automatically hide the
toast after |
delay |
Milliseconds after which to hide the
toast (if |
session |
A valid shiny session. |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.