tree: Create a Tree Widget Using the JavaScript Library jsTree

Description Usage Arguments Value References

View source: R/input-tree.R

Description

Create a tree widget using the JavaScript library jsTree.

Usage

1
tree(data, options = list(), plugins = NULL, width = NULL, height = NULL)

Arguments

data

A list with a tree-like structure, either in the standard or the alternative format; see https://www.jstree.com/docs/json/.

options

A list of initialization options, e.g., to control the looks of jsTree; see https://www.jstree.com/api/.

plugins

A list of plugins to enable further functionality of jsTree; see https://www.jstree.com/plugins/.

width

The width of the input container, e.g., '100%'; see validateCssUnit.

height

The height of the input container, e.g., '200px'; see validateCssUnit.

Value

A tree widget that can be added to a UI definition.

References

See https://www.jstree.com/ for the full documentation.


stefanieschneider/shinytree documentation built on June 29, 2020, 4:17 a.m.