mirror of
https://github.com/rstudio/shiny.git
synced 2026-02-05 04:05:06 -05:00
39 lines
1.2 KiB
R
39 lines
1.2 KiB
R
% Generated by roxygen2: do not edit by hand
|
|
% Please edit documentation in R/input-submit.R
|
|
\name{submitButton}
|
|
\alias{submitButton}
|
|
\title{Create a submit button}
|
|
\usage{
|
|
submitButton(text = "Apply Changes", icon = NULL, width = NULL)
|
|
}
|
|
\arguments{
|
|
\item{text}{Button caption}
|
|
|
|
\item{icon}{Optional \code{\link{icon}} to appear on the button}
|
|
|
|
\item{width}{The width of the button, e.g. \code{'400px'}, or \code{'100\%'};
|
|
see \code{\link{validateCssUnit}}.}
|
|
}
|
|
\value{
|
|
A submit button that can be added to a UI definition.
|
|
}
|
|
\description{
|
|
Create a submit button for an input form. Forms that include a submit
|
|
button do not automatically update their outputs when inputs change,
|
|
rather they wait until the user explicitly clicks the submit button.
|
|
}
|
|
\examples{
|
|
submitButton("Update View")
|
|
submitButton("Update View", icon("refresh"))
|
|
}
|
|
\seealso{
|
|
Other input.elements: \code{\link{actionButton}},
|
|
\code{\link{checkboxGroupInput}},
|
|
\code{\link{checkboxInput}}, \code{\link{dateInput}},
|
|
\code{\link{dateRangeInput}}, \code{\link{fileInput}},
|
|
\code{\link{numericInput}}, \code{\link{passwordInput}},
|
|
\code{\link{radioButtons}}, \code{\link{selectInput}},
|
|
\code{\link{sliderInput}}, \code{\link{textInput}}
|
|
}
|
|
|