rpgSlider creates a slider input element.
updateRpgSlider changes the slider value from the server.
1 2 3 | rpgSlider(inputId, label, min, max, value, golden = FALSE)
updateRpgSlider(session = shiny::getDefaultReactiveDomain(), inputId, value)
|
inputId |
rpgSlider unique id. |
label |
Text writtent on top of the input. |
min |
The minimum value (inclusive) that can be selected. |
max |
The maximum value (inclusive) that can be selected. |
value |
rpgSlider value. |
golden |
Style parameter. If TRUE, the slider is bordered by fancy elements. FALSE by default. |
session |
Shiny session object. |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.