Description Usage Arguments Details Value Source
View source: R/utils_fileBrowserDialog.R
Change the value of a fileBrowserInput()
on the client
1 | updateFileBrowserInput(session, id, ..., value = NULL, ask = FALSE)
|
session |
Shiny session |
id |
Character: identifier |
... |
Additional arguments passed to |
value |
Character: file or directory path |
ask |
Boolean: ask user to pick a file using file browser? |
Sends a message to the client, telling it to change the value of the input
object. For fileBrowserInput()
objects, this changes the value
displayed in the text-field and triggers a client-side change event. A
directory selection dialogue is not displayed.
NULL
(function is only used to modify the Shiny session's
state or internal variables)
https://github.com/wleepang/shiny-directory-input
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.