countdown_action {countdown} | R Documentation |
Perform a Countdown Timer Action in a Shiny App
Description
Performs an action in a countdown timer dynamically in a Shiny app via server
logic. You can start, stop, reset, or bump time time (when the timer is
running) up or down. See countdown_shiny_example()
for an example app
demonstrating the usage of countdown_action()
.
Usage
countdown_action(
id,
action = c("start", "stop", "reset", "bumpUp", "bumpDown"),
session = NULL
)
Arguments
id |
A character vector with one or more |
action |
The action to perform, one of |
session |
The reactive |
Value
Invisibly returns the id
of the updated countdown timer(s).
See Also
Other Shiny functions:
countdown_app()
,
countdown_shiny_example()
,
countdown_update()