Skip to content

Commit 26c0766

Browse files
committed
new options
1 parent d1a7a9b commit 26c0766

File tree

2 files changed

+9
-2
lines changed

2 files changed

+9
-2
lines changed

R/input-treeview.R

+7-2
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,11 @@
1212
#' @examples
1313
treeviewInput <- function(inputId,
1414
label = NULL,
15-
choices, selected = NULL,
15+
choices,
16+
selected = NULL,
1617
multiple = FALSE,
18+
levels = 1,
19+
borders = TRUE,
1720
prevent_unselect = FALSE,
1821
return_value = c("name", "all"),
1922
width = NULL) {
@@ -22,7 +25,9 @@ treeviewInput <- function(inputId,
2225
config = list(
2326
data = choices,
2427
multiSelect = multiple,
25-
preventUnselect = prevent_unselect
28+
preventUnselect = prevent_unselect,
29+
levels = levels,
30+
showBorder = borders
2631
),
2732
selected = list1(selected)
2833
))

man/treeviewInput.Rd

+2
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)