countdown_action | R Documentation |
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()
.
countdown_action( id, action = c("start", "stop", "reset", "bumpUp", "bumpDown"), session = NULL )
id |
A character vector with one or more |
action |
The action to perform, one of |
session |
The reactive |
Invisibly returns the id
of the updated countdown timer(s).
Other Shiny functions:
countdown_app()
,
countdown_shiny_example()
,
countdown_update()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.