View source: R/mod_profiling_input.R
slider_pct2 | R Documentation |
Wraps the 'conditionalSliderRangeInput()' defined elsewhere in covidscreen for brevity.
slider_pct2( id, label, value = 50, value2 = c(0, 100), min = 0, max = 100, step = 1, trigger = "x_var", prefix = NULL, br = TRUE )
id |
The input element ID |
label |
The input element label |
value |
'[numeric(1)]' The point value for the single handle |
value2 |
'[numeric(2)]' The range of the double handles |
min |
The minimum slider value |
max |
The maximum slider value |
step |
The step size of the slider |
trigger |
'[character(1)]' The trigger variable |
prefix |
A prefix to prepend to the value labels |
br |
Add a line break below the input element |
A UI element
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.