checkboxInput
From shiny v0.12.2
by Winston Chang
Checkbox Input Control
Create a checkbox that can be used to specify logical values.
Usage
checkboxInput(inputId, label, value = FALSE, width = NULL)
Arguments
- inputId
- The
input
slot that will be used to access the value. - label
- Display label for the control, or
NULL
for no label. - value
- Initial value (
TRUE
orFALSE
). - width
- The width of the input, e.g.
'400px'
, or'100%'
; seevalidateCssUnit
.
Value
- A checkbox control that can be added to a UI definition.
See Also
checkboxGroupInput
, updateCheckboxInput
Other input.elements: actionButton
,
actionLink
; animationOptions
,
sliderInput
;
checkboxGroupInput
;
dateInput
; dateRangeInput
;
fileInput
; numericInput
;
passwordInput
; radioButtons
;
selectInput
, selectizeInput
;
submitButton
; textInput
Examples
checkboxInput("outliers", "Show outliers", FALSE)
Community examples
Looks like there are no examples yet.