input_slider | R Documentation |
Adds an input to select within the entered range.
input_slider(label, id = label, ..., min = 0, max = 1, step = 1,
default = max, note = NULL, dataset = NULL, depends = NULL)
label |
Label of the input for the user. |
id |
Unique id of the element to be created. |
... |
Additional attributes to set on the element. |
min |
The smallest value in the range. |
max |
The largest value in the range. |
step |
How much moving the handle adjusts the selected value. |
default |
Starting value of the slider handle. |
note |
Text to display as a tooltip for the input. |
dataset |
The name of an included dataset, where |
depends |
The id of another input on which the options depend; this will take president over |
A character vector of the contents to be added.
## Not run:
input_slider()
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.