runExample: Run shinyjs examples

Description Usage Arguments Examples

View source: R/runExample.R

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

1

Arguments

example

The app to launch

Examples

1
2
3
4
5
6
7
8
## Only run this example in interactive R sessions
if (interactive()) {
  # List all available example apps
  runExample()

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

Example output

Attaching package: 'shinyjs'

The following objects are masked from 'package:methods':

    removeClass, show

shinyjs documentation built on Sept. 13, 2020, 5:14 p.m.