make_slider_input_years | R Documentation |
make_slider_input_years creates a shiny sliderInput() widget based on a vector of two years
make_slider_input_years(id, years, ...)
id |
the widget inputId, passed with a ns() to avoid namespace conflicts if inside a module |
years |
a vector of two numeric years to be used as min, max, and default values |
... |
<data-masking> |
a shiny sliderInput widget
make_slider_input_years(id = "slider1", years = c(2010, 2025))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.