Description Usage Arguments Value See Also
View source: R/utils_interface.R
Create a modal window
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 | styleModal(
session,
title,
...,
style = NULL,
iconName = "exclamation-circle",
footer = NULL,
echo = FALSE,
size = "medium",
dismissButton = TRUE,
caller = NULL
)
errorModal(session, title, ..., size = "small", footer = NULL, caller = NULL)
warningModal(session, title, ..., size = "small", footer = NULL, caller = NULL)
infoModal(session, title, ..., size = "small", footer = NULL, caller = NULL)
|
session |
Shiny session |
title |
Character: title |
... |
Arguments passed on to
|
style |
Character: style ( |
iconName |
Character: icon name |
footer |
HTML elements to use in footer |
echo |
Boolean: print to console? |
size |
Character: size of the modal ( |
dismissButton |
Boolean: show dismiss button in footer? |
caller |
Character: caller module identifier |
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.