Files
shiny/man/fileInput.Rd
Joe Cheng 3a0b11b89d Add file upload feature
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.
2012-08-30 22:07:00 -07:00

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.
}