powered by
rangeInput() creates a simple numeric range input.
rangeInput()
rangeInput(id, min = 0, max = 100, default = min, step = 1, ...)updateRangeInput( id, value = NULL, enable = NULL, disable = NULL, session = getDefaultReactiveDomain() )
updateRangeInput( id, value = NULL, enable = NULL, disable = NULL, session = getDefaultReactiveDomain() )
A character string specifying the id of the reactive input.
A number specifying the minimum value of the input, defaults to 0.
0
A number specifying the maximum value of the input, defaults to 100.
100
A number between min and max specifying the default value of the input, defaults to min.
min
max
A number specifying the interval step of the input, defaults to 1.
1
Additional named arguments passed as HTML attributes to the parent element or tag elements passed as child elements to the parent element.
A number specifying a new value for the input, defaults to NULL.
NULL
One of values specifying particular choices to enable or TRUE specifying the entire input is enabled, defaults to NULL.
values
TRUE
One of values specifying particular choices to disable or TRUE specifying the entire input is disabled, defaults to NULL.
A reactive context, defaults to getDefaultReactiveDomain().
getDefaultReactiveDomain()
The sophistication of this input will improve as browsers adopt the latest HTML standards.
Other inputs: buttonGroupInput(), buttonInput(), checkbarInput(), checkboxInput(), chipInput(), fileInput(), formInput(), listGroupInput(), menuInput(), navInput(), radioInput(), radiobarInput(), selectInput(), textInput()
buttonGroupInput()
buttonInput()
checkbarInput()
checkboxInput()
chipInput()
fileInput()
formInput()
listGroupInput()
menuInput()
navInput()
radioInput()
radiobarInput()
selectInput()
textInput()
# NOT RUN { ### Range inputs # Select from a range of numeric values. rangeInput(id = "range1") ### Custom step rangeInput(id = "range2", step = 10) # }
Run the code above in your browser using DataLab