slider_pct2: Wrap 'conditionalSliderRangeInput()' for Ease of Use

View source: R/mod_profiling_input.R

slider_pct2R Documentation

Wrap 'conditionalSliderRangeInput()' for Ease of Use

Description

Wraps the 'conditionalSliderRangeInput()' defined elsewhere in covidscreen for brevity.

Usage

slider_pct2(
  id,
  label,
  value = 50,
  value2 = c(0, 100),
  min = 0,
  max = 100,
  step = 1,
  trigger = "x_var",
  prefix = NULL,
  br = TRUE
)

Arguments

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

Value

A UI element


jesse-smith/covidscreen documentation built on June 15, 2022, 7:46 p.m.