tablerAlert | R Documentation |
Build a tabler alert
tablerAlert(..., title = NULL, status, icon = NULL, closable = TRUE)
... |
Alert content. |
title |
Alert title. |
status |
Alert status. See https://preview.tabler.io/docs/colors.html. |
icon |
Alert icon. |
closable |
Whether to close the alert. TRUE by default. |
David Granjon, dgranjon@ymail.com
if(interactive()){
library(shiny)
library(tablerDash)
shiny::shinyApp(
ui = tablerDashPage(
navbar = NULL,
footer = NULL,
title = "test",
body = tablerDashBody(
tablerAlert(
title = "Alert",
"Lorem ipsum dolor sit amet, consectetur
adipisicing elit. Lorem ipsum dolor sit
amet, consectetur adipisicing elit.
Lorem ipsum dolor sit amet, consectetur
adipisicing elit.",
icon = "alert-triangle",
status = "info"
)
)
),
server = function(input, output) {}
)
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.