html-dependencies | R Documentation |
These functions are used internally to load dependencies for widgets. Not all of them are exported. Below are the ones needed for package fresh.
html_dependency_awesome()
html_dependency_bttn()
html_dependency_pretty()
html_dependency_bsswitch()
html_dependency_sweetalert2(
theme = c("sweetalert2", "minimal", "dark", "bootstrap-4", "material-ui", "bulma",
"borderless")
)
theme |
SweetAlert theme to use. |
an htmlDependency
.
# Use in UI or tags function
library(shiny)
fluidPage(
html_dependency_awesome()
)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.