sliderCheckboxInput: Module sliderCheckbox: Slider with Checkbox

Description Usage Arguments Value Functions Note

Description

Creates a Slider with a Checkbox to mark "I don't know" and corresponding functionality.

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
sliderCheckboxInput(id, description = "", min = 0, max = 100,
  value = 30, default = value, cb_title = "I don't know",
  sliderlabel = "", sliderstate = "", sliderclass = "",
  width = "100%")

sliderCheckbox(input, output, session, oldvalue = NULL,
  check_changeDefaultNumeric = FALSE, check_enableOnClick = FALSE)

updateSliderCheckboxInput(session, id, description = NULL, min = NULL,
  max = NULL, default = NULL, cb_title = NULL)

Arguments

id

Modules id.

description

Label for Slider.

min

Slider minimum value.

max

Slider maximum value.

value

Slider initial value. If NA, Checkbox will be activated and default returned.

default

Value to be returned if Checkbox is active.

cb_title

Description Label for Checkbox.

sliderlabel

Default class of slidercheckboxes, to use with custom prettify-function to have individual labels.

sliderstate

Default state of slider,see rSliderGuiInput.

sliderclass

Default class of slider, see rSliderGuiInput.

width

The width of the sliderInput, e.g. '400px', or '100%'; see validateCssUnit.

check_changeDefaultNumeric

Should defaultNumeric be observed for changes? Enables updating DefaultNumeric when slider is disabled, but is time-consuming

check_enableOnClick

Should disabled slider be activated when clicked on? Time-consuming.

Value

fluidrow with slider and checkbox for Input, values as described below.

Functions

Note

For Usage of Modules, see https://shiny.rstudio.com/articles/modules.html. To use the functionality, shinyjs must have been loaded and initialised.


JulianBo/mcdsupportshiny documentation built on July 5, 2019, 12:51 a.m.