Skip to content

Instantly share code, notes, and snippets.

@addiversitas
Created October 24, 2020 16:23
Show Gist options
  • Save addiversitas/644db150966b02a6b41446a2c30b3a30 to your computer and use it in GitHub Desktop.
Save addiversitas/644db150966b02a6b41446a2c30b3a30 to your computer and use it in GitHub Desktop.
slider input animation
sliderInput("dateSel", "Date",
min = min(covidData$Date_reported),
max = max(covidData$Date_reported),
value = min(covidData$Date_reported),
step = 1,
timeFormat = "%d %b %y",
animate = animationOptions(interval = 500, loop = FALSE)
)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment