countdown_shiny_example {countdown}R Documentation

Example Countdown Shiny App

Description

An example app that demonstrates the ways that countdown timers can be integrated into Shiny apps.

Usage

countdown_shiny_example(display.mode = c("showcase", "normal", "auto"))

Arguments

display.mode

The mode in which to display the application. If set to the value "showcase", shows application code and metadata from a DESCRIPTION file in the application directory alongside the application. If set to "normal", displays the application normally. Defaults to "auto", which displays the application in the mode given in its DESCRIPTION file, if any.

Value

Runs the example Shiny app in the current R session.

See Also

Other Shiny functions: countdown_action(), countdown_app(), countdown_update()

Examples

if (interactive()) {
  countdown_shiny_example()
}


[Package countdown version 0.4.0 Index]