getCurrentTheme | R Documentation |
Intended for use by Shiny developers to create Shiny bindings with intelligent
styling based on the bootstrapLib()
's theme
value.
getCurrentTheme()
If called at render-time (i.e., inside a htmltools::tagFunction()
),
and bootstrapLib()
's theme
has been set to a bslib::bs_theme()
object, then this returns the theme
. Otherwise, this returns NULL
.
getCurrentOutputInfo()
, bootstrapLib()
, htmltools::tagFunction()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.