View source: R/mod_profiling_input.R
num_input2 | R Documentation |
Wraps the 'conditionalNumericRangeInput()' defined elsewhere in covidscreen for brevity.
num_input2( id, label, value, value2, min = 0, max = NA, step = 1, trigger = "x_var", br = TRUE )
id |
The element ID |
label |
A label for the UI element |
value |
'[numeric(1)]' The initial "point" value |
value2 |
'[numeric(2)]' The initial "range" value |
min |
The minimum allowable value of the inputs |
max |
The maximum allowable value of the inputs |
step |
The step size |
trigger |
'[character(1)]' The variable that triggers the switch between point and range |
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.