mirror of
https://github.com/rstudio/shiny.git
synced 2026-01-29 08:48:13 -05:00
This feature is currently pretty rough. It only works in the most modern browsers (depends on HTML5 File API, including Blob.slice) and doesn't show upload progress.
26 lines
595 B
R
26 lines
595 B
R
\name{fileInput}
|
|
\alias{fileInput}
|
|
\title{File Upload Control}
|
|
\usage{
|
|
fileInput(inputId, label, multiple = FALSE,
|
|
accept = NULL)
|
|
}
|
|
\arguments{
|
|
\item{inputId}{Input variable to assign the control's
|
|
value to.}
|
|
|
|
\item{label}{Display label for the control.}
|
|
|
|
\item{multiple}{Whether the user should be allowed to
|
|
select and upload multiple files at once.}
|
|
|
|
\item{accept}{A character vector of MIME types; gives the
|
|
browser a hint of what kind of files the server is
|
|
expecting.}
|
|
}
|
|
\description{
|
|
Create a file upload control that can be used to upload
|
|
one or more files.
|
|
}
|
|
|