Description Usage Arguments Details See Also
Constructs a slider widget to select a numeric value from a range.
1 2 3 4 5 6 |
inputId |
Specifies the |
label |
A descriptive label to be displayed with the widget, or
|
min |
The minimum value (inclusive) that can be selected. |
max |
The maximum value (inclusive) that can be selected. |
value |
The initial value of the slider. A numeric vector of length
one will create a regular slider; a numeric vector of length two will
create a double-ended range slider. A warning will be issued if the
value doesn't fit between |
step |
Specifies the interval between each selectable value on the
slider ( |
round |
|
format |
Customize format values in slider labels. See https://code.google.com/p/jquery-numberformatter/ for syntax details. |
locale |
The locale to be used when applying |
ticks |
|
animate |
|
width |
The width of the input, e.g. |
interval |
The interval, in milliseconds, between each animation step. |
loop |
|
playButton |
Specifies the appearance of the play button. Valid values
are a one-element character vector (for a simple text label), an HTML tag
or list of tags (using |
pauseButton |
Similar to |
Valid values for locale are:
| Arab Emirates | "ae" |
| Australia | "au" |
| Austria | "at" |
| Brazil | "br" |
| Canada | "ca" |
| China | "cn" |
| Czech | "cz" |
| Denmark | "dk" |
| Egypt | "eg" |
| Finland | "fi" |
| France | "fr" |
| Germany | "de" |
| Greece | "gr" |
| Great Britain | "gb" |
| Hong Kong | "hk" |
| India | "in" |
| Israel | "il" |
| Japan | "jp" |
| Russia | "ru" |
| South Korea | "kr" |
| Spain | "es" |
| Sweden | "se" |
| Switzerland | "ch" |
| Taiwan | "tw" |
| Thailand | "th" |
| United States | "us" |
| Vietnam | "vn" |
Other input.elements: checkboxGroupInput;
checkboxInput; dateInput;
dateRangeInput; numericInput;
radioButtons; selectInput,
selectizeInput; submitButton;
textInput
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.