Description Usage Arguments Value Examples
Customise the Shiny disconnected screen.
1 2 3 4 5 6 7 8 9 | sever(
html = sever_default(),
color = "#fff",
opacity = 1,
bg_color = "#333e48",
bg_image = NULL,
session = shiny::getDefaultReactiveDomain(),
box = FALSE
)
|
html |
Shiny tags to use as content for the disconnected screen,
generally |
opacity |
Opacity of background. |
bg_color, color |
Background color, color of text. |
bg_image |
Background image to use. |
session |
A valid shiny session. |
box |
Set to |
None
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 | library(shiny)
ui <- fluidPage(
useSever(),
h1("sever")
)
server <- function(input, output){
sever(
tagList(
h1("Whoops"),
reload_button()
)
)
}
if(interactive())
shinyApp(ui, server)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.