View source: R/inshiny-package.R
| use_inshiny | R Documentation |
For inshiny to work, you need to link your Shiny app to inshiny's JavaScript
code and CSS stylesheets. If you use inshiny's function inline() anywhere
in your Shiny UI definition, which you probably do, this happens
automatically. Otherwise, you can add a call to use_inshiny() to your UI.
use_inshiny()
An htmltools::htmlDependency() object to include in your UI.
ui <- bslib::page(
use_inshiny(),
shiny::h1("My slider app"),
inline_slider("slider", 50, 0, 100)
)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.