Update shinyTimer widget
updateShinyTimer.Rd
Update shinyTimer widget
Usage
updateShinyTimer(
inputId,
hours = NULL,
minutes = NULL,
seconds = NULL,
type = NULL,
label = NULL,
frame = NULL,
color = NULL,
session = shiny::getDefaultReactiveDomain()
)
Arguments
- inputId
The input ID corresponding to the UI element.
- hours
The new starting time in hours for the countdown.
- minutes
The new starting time in minutes for the countdown.
- seconds
The new starting time in seconds for the countdown.
- type
The new type of the countdown timer display ("simple", "mm:ss", "hh:mm:ss", "mm:ss.cs").
- label
The new label to be displayed above the countdown timer.
- frame
The new shape of the timer's container ("none", "circle", "rectangle").
- color
A new CSS color string for text and border.
- session
The session object from the shiny server function.