Is it possible to lock the minimum value of a crosstalk::filter_slider?

I want to take advantage of the amazing interactivity of crosstalk, but unfortunately the filter_slider is the only available as a range slider.

Is there anyway to force the minimum value to be 0?

An example:

if (interactive()) {
  
  sd <- SharedData$new(mtcars)
  filter_slider("mpg", "Miles per gallon", sd, "mpg",dragRange=T )
  
}
1 Like

This topic was automatically closed 21 days after the last reply. New replies are no longer allowed.