html-dependencies: HTML dependencies

Description Usage Arguments Value Examples

Description

These functions are used internally to load dependencies for widgets. Not all of them are exported. Below are the ones needed for package fresh.

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
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")
)

Arguments

theme

SweetAlert theme to use.

Value

an htmlDependency.

Examples

1
2
3
4
5
6
# Use in UI or tags function

library(shiny)
fluidPage(
  html_dependency_awesome()
)

shinyWidgets documentation built on Sept. 17, 2021, 5:06 p.m.