serverBrowserUI | R Documentation |
Server browser tree module
serverBrowserUI(id, max_height = "500px")
serverBrowser(
input,
output,
session,
root_directory = "/",
initial_selection = NULL,
dir_highlight = NULL,
file_highlight = NULL,
folder_shortcuts = NULL
)
id |
UI element id |
input |
shiny input object |
output |
shiny output object |
session |
shiny session object |
root_directory |
character. Path of the root directory to browse from. Defaults to root directory. |
initial_selection |
optional character. Path of the selected folder at start. |
dir_highlight |
optional character or function. If character, regular expression matching directory elements to highlight. If function, one argument function used to determine if the element should be highlighted. |
file_highlight |
optional character or function. If character, regular expression matching file elements to highlight. If function, one argument function used to determine if the element should be highlighted. |
A shiny module
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.