Description Usage Arguments Examples
This creates a widget with a shiny file tree. The widget is based on jstree, and the R implementation has the same implementation as jstree. For more details, please refer to https://www.jstree.com/docs/config/ and https://www.jstree.com/api/#/?q=$.jstree.defaults
1 2 3 4 5 6 7 8 | shinyFileTree(data, plugins = NULL, opts = shinyFileTreeOpts(),
default_plugin_opts = list(checkbox = list(visible = TRUE, three_state
= TRUE, whole_node = TRUE, cascade = TRUE), contextmenu =
list(select_node = TRUE, show_at_node = TRUE), search =
list(case_sensitive = FALSE, show_only_matches = TRUE), types = list(file
= list(icon = "glyphicon glyphicon-flash"))), ...,
is_directory = FALSE, directory_depth = NULL,
show_dir_info = FALSE, width = NULL, height = NULL)
|
data |
|
plugins |
|
opts |
|
default_plugin_opts |
|
... |
|
is_directory |
|
width |
|
height |
1 2 3 4 5 6 | shinyFileTree(system.file(package="shinyFileTree"),
is_directory = TRUE,
plugins = c("checkbox"),
multiple = TRUE,
opts = shinyFileTreeOpts(icons = TRUE)
)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.