...What is the purpose of inputId in sliderInput function?

...What is the purpose of inputId in sliderInput function?

That is the name of the element of the input list that you can use to refer to the value of the slider. There is a super simple example here:
https://shiny.rstudio.com/gallery/widget-gallery.html

Notice how in the server code the slider's value is referred to as input$slider1 because in the ui the sliderID is "slider1"

2 Likes

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