runExample | R Documentation |
Launch a shinyjs
example Shiny app that shows how to
easily use shinyjs
in an app.
Run without any arguments to see a list of available example apps.
The "demo" example is also
available online
to experiment with.
Deprecation Notice: This function is no longer required since Shiny version
1.8.1 (March 2024). This function will be removed in a future release of {shinyjs}.
You can use shiny::runExample("demo", package = "shinyjs")
instead of
shinyjs::runExample("demo")
.
runExample(example)
example |
The app to launch |
## Only run this example in interactive R sessions
if (interactive()) {
# List all available example apps
runExample()
runExample("sandbox")
runExample("demo")
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.