Description Usage Arguments Author(s) Examples
An alert
1 2 |
... |
Alert text |
title |
Alert title |
status |
Alert status: "danger", "warning", "info", "success" or "primary" |
dismissible |
Whether the alert is closable or not. TRUE by default. |
width |
Alert width. 3 by default. |
David Granjon, dgranjon@ymail.com
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 | if (interactive()) {
library(shiny)
library(gentelellaShiny)
shinyApp(
ui = gentelellaPageCustom(
gentelellaBody(
alert(
status = "warning",
title = "An alert",
"Best check yo self,
you're not looking too good."
)
)
),
server <- function(input, output) {}
)
}
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.