updateNoUiSliderInput: Change the value of a no ui slider input on the client

View source: R/input-noUiSlider.R

updateNoUiSliderInputR Documentation

Change the value of a no ui slider input on the client

Description

Change the value of a no ui slider input on the client

Usage

updateNoUiSliderInput(
  session = getDefaultReactiveDomain(),
  inputId,
  label = NULL,
  value = NULL,
  range = NULL,
  disable = FALSE
)

Arguments

session

The session object passed to function given to shinyServer.

inputId

The id of the input object.

label

The new label.

value

The new value.

range

The new range, must be of length 2 with c(min, max).

disable

logical, disable or not the slider, if disabled the user can no longer modify the slider value.

See Also

noUiSliderInput()

Examples

if (interactive()) {

 demoNoUiSlider("update")

}

shinyWidgets documentation built on Aug. 30, 2023, 5:17 p.m.