updateDirectoryInput: Change the value of a directoryInput on the client

Description Usage Arguments Details

View source: R/directoryInput.R

Description

Change the value of a directoryInput on the client

Usage

1
updateDirectoryInput(session, inputId, value = NULL, ...)

Arguments

session

The session object passed to function given to shinyServer.

inputId

The id of the input object.

value

A directory path to set

...

Additional arguments passed to choose.dir. Only used if value is NULL.

Details

Sends a message to the client, telling it to change the value of the input object. For directoryInput objects, this changes the value displayed in the text-field and triggers a client-side change event. A directory selection dialog is not displayed.


wleepang/shiny-directory-input documentation built on March 8, 2021, 12:54 p.m.