runExample: Run shinyjs examples [DEPRECATED]

View source: R/runExample.R

runExampleR Documentation

Run shinyjs examples [DEPRECATED]

Description

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").

Usage

runExample(example)

Arguments

example

The app to launch

Examples

## Only run this example in interactive R sessions
if (interactive()) {
  # List all available example apps
  runExample()

  runExample("sandbox")
  runExample("demo")
}

daattali/shinyjs documentation built on June 11, 2025, 6:07 p.m.