Output and render functions for using jstree
within
Shiny applications and interactive Rmd documents. See examples with
jstreeExample
.
jstreeOutput(outputId, width = "100%", height = "auto")renderJstree(expr, env = parent.frame(), quoted = FALSE)
output variable to read from
must be a valid CSS unit (like '100%'
,
'400px'
, 'auto'
) or a number, which will be coerced to a
string and have 'px'
appended
an expression that generates a jstree
the environment in which to evaluate expr
logical, whether expr
is a quoted expression
(with quote()
); this is useful if you want to save an expression
in a variable
jstreeOutput
returns an output element that can be included
in a Shiny UI definition, and renderJstree
returns a
shiny.render.function
object that can be included in a Shiny server
definition.