Description Usage Arguments Value See Also
View source: R/utils_interface.R
Show or remove an alert
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 | showAlert(
session,
...,
title,
style = NULL,
dismissible = TRUE,
alertId = "alert",
iconName = NULL,
caller = NULL
)
successAlert(
session,
...,
title = NULL,
dismissible = TRUE,
alertId = "success",
caller = NULL
)
errorAlert(
session,
...,
title = NULL,
dismissible = TRUE,
alertId = "alert",
caller = NULL
)
warningAlert(
session,
...,
title = NULL,
dismissible = TRUE,
alertId = "alert",
caller = NULL
)
removeAlert(output, alertId = "alert")
|
session |
Shiny session |
... |
Arguments to render as elements of alert |
title |
Character: title |
style |
Character: style ( |
dismissible |
Boolean: is the alert dismissible? |
alertId |
Character: identifier |
iconName |
Character: icon name |
caller |
Character: caller module identifier |
output |
Shiny output |
NULL
(function is only used to modify the Shiny session's
state or internal variables)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.