View source: R/shiny-fancyFileInput.R
| observeDirectoryProgress | R Documentation |
Helper function to set up progress tracking using progress2
for fancyDirectoryInput. Call this in your server function
to enable automatic progress updates.
observeDirectoryProgress(inputId, session = shiny::getDefaultReactiveDomain())
inputId |
the input ID of the |
session |
the Shiny session object (default: |
invisible NULL; sets up reactive observers for progress tracking
## Not run:
server <- function(input, output, session) {
# Enable progress tracking
observeDirectoryProgress("dir_input")
# Your other server logic...
}
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.