runExample: Run shinyjs examples

View source: R/runExample.R

runExampleR Documentation

Run shinyjs examples

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.

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 Nov. 16, 2023, 3:08 p.m.