shinyFileTreeOpts: Function to set options for shinyFileTree

Description Usage Arguments

Description

Use as argument to opts parameter of shinyFileTree

Usage

1
2
3
4
5
shinyFileTreeOpts(animation = 200, multiple = FALSE,
  force_text = FALSE, dblclick_toggle = TRUE, check_callback = TRUE,
  themes.name = FALSE, themes.url = FALSE, themes.dir = FALSE,
  themes.dots = TRUE, themes.icons = TRUE, themes.stripes = TRUE,
  themes.variant = FALSE, themes.reposonsive = FALSE, ...)

Arguments

animation

the open / close animation duration in milliseconds - set this to false to disable the animation (default is 200)

multiple

a boolean indicating if multiple nodes can be selected (default FALSE).

force_text

Force node text to plain text (and escape HTML) (default FALSE).

dblclick_toggle

Should the node be toggled if the text is double clicked (default TRUE).

themes.name

the name of the theme to use (if left as FALSE the default theme is used)

themes.url

the URL of the theme's CSS file, leave this as false if you have manually included the theme CSS (recommended). You can set this to true too which will try to autoload the theme.

themes.dir

the location of all jstree themes - only used if url is set to TRUE

themes.dots

a boolean indicating if connecting dots are shown.

themes.icons

a boolean indicating if node icons are shown.

themes.stripes

a boolean indicating if the tree background is striped.

themes.variant

a string (or boolean false) specifying the theme variant to use (if the theme supports variants), e.g. 'large'.

themes.reposonsive

a boolean specifying if a reponsive version of the theme should kick in on smaller screens (if the theme supports it). Defaults to FALSE.

...

Additional jstree options


fbreitwieser/shinyFileTree documentation built on May 16, 2019, 12:03 p.m.