mirror of
https://github.com/rstudio/shiny.git
synced 2026-02-02 02:34:57 -05:00
These functions were temporarily ripped out of Shiny and moved to the htmltools package. We've discovered that it's safe to keep including them in shiny; as long as the functions in shiny and the functions in htmltools are identical, the user won't receive a conflict warning.
38 lines
1.1 KiB
R
38 lines
1.1 KiB
R
% Generated by roxygen2 (4.0.1): do not edit by hand
|
|
\name{checkboxInput}
|
|
\alias{checkboxInput}
|
|
\title{Checkbox Input Control}
|
|
\usage{
|
|
checkboxInput(inputId, label, value = FALSE)
|
|
}
|
|
\arguments{
|
|
\item{inputId}{Input variable to assign the control's value to.}
|
|
|
|
\item{label}{Display label for the control.}
|
|
|
|
\item{value}{Initial value (\code{TRUE} or \code{FALSE}).}
|
|
}
|
|
\value{
|
|
A checkbox control that can be added to a UI definition.
|
|
}
|
|
\description{
|
|
Create a checkbox that can be used to specify logical values.
|
|
}
|
|
\examples{
|
|
checkboxInput("outliers", "Show outliers", FALSE)
|
|
}
|
|
\seealso{
|
|
\code{\link{checkboxGroupInput}}, \code{\link{updateCheckboxInput}}
|
|
|
|
Other input.elements: \code{\link{actionButton}},
|
|
\code{\link{actionLink}}; \code{\link{animationOptions}},
|
|
\code{\link{sliderInput}};
|
|
\code{\link{checkboxGroupInput}};
|
|
\code{\link{dateInput}}; \code{\link{dateRangeInput}};
|
|
\code{\link{fileInput}}; \code{\link{numericInput}};
|
|
\code{\link{radioButtons}}; \code{\link{selectInput}},
|
|
\code{\link{selectizeInput}}; \code{\link{submitButton}};
|
|
\code{\link{textInput}}
|
|
}
|
|
|