View source: R/maVerticalSliders.R
This function allows you build a vertical slider. Set the minimum, maximum and initial values, and set the slider name. The value of the slider can be accessed on the Shiny server via 'input$id', where id is the given id string.
1 | maVerticalSlider(id, name, min = 0, max = 100, value = 50)
|
id |
The input slot that will be used to access the value. |
name |
Name displayed below the slider. |
min |
Minimum slider value. Defaults to 0. |
max |
Maximum slider value. Defaults to 100. |
value |
Initial value. Defaults to 50. |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.