Description Usage Arguments Details See Also Examples
rangeInput()
creates a simple numeric range input.
1 2 3 4 5 6 7 8 9 | rangeInput(id, min = 0, max = 100, default = min, step = 1, ...)
updateRangeInput(
id,
value = NULL,
enable = NULL,
disable = NULL,
session = getDefaultReactiveDomain()
)
|
id |
A character string specifying the id of the reactive input. |
min |
A number specifying the minimum value of the input, defaults to
|
max |
A number specifying the maximum value of the input, defaults to
|
default |
A number between |
step |
A number specifying the interval step of the input, defaults to
|
... |
Additional named arguments passed as HTML attributes to the parent element or tag elements passed as child elements to the parent element. |
value |
A number specifying a new value for the input, defaults to
|
enable |
One of |
disable |
One of |
session |
A reactive context, defaults to |
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()
1 2 3 4 5 6 7 8 9 | ### Range inputs
# Select from a range of numeric values.
rangeInput(id = "range1")
### Custom step
rangeInput(id = "range2", step = 10)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.