View source: R/mod_shinyFiles.R
fileChooserUI | R Documentation |
A formatted file input using shinyFiles The format is based on AdminLTE v2 (shinydashboard)
fileChooserUI( id, label, title, multiple = TRUE, filetypes = NULL, pattern = NULL )
id |
Module id. |
label |
The button label. |
title |
The browser window title. |
multiple |
A logical indicating whether or not it should be possible to select multiple files |
filetypes |
A character vector of file extensions (without dot in front i.e. 'txt' not '.txt') to include in the output. Use the empty string to include files with no extension. If not set all file types will be included |
pattern |
A regular expression used to select files to show. See base::grepl() for additional discussion on how to construct a regular expression (e.g., "log.*\.txt") |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.