Date Slider Widget
date_slider_widget.RdThe UI component to drive the date filter.
Usage
date_slider_widget(id, width = "300px", bootstrap = bslib::version_default())Arguments
- id
the server module id.
- width
the width of the input (passed to
shiny::sliderInput()).- bootstrap
optional, a character string for the Bootstrap major version (see details).
Details
bootstrap has been added in version 0.8.0 to determine if bslib::popover() can be used
in the widget. The default is provided by bslib::version_default(), but there is no obvious
way to know - from the UI side - if the app uses shiny's default or bslib layouts.
In case you are using shiny's layout (ex: shiny::fluidPage()), you should set the parameter
to bootstrap = "3".