| print.muiTreeView | R Documentation |
When called interactively, renders the component in the IDE viewer panel. Otherwise, falls back to standard shiny.tag printing (raw HTML text).
## S3 method for class 'muiTreeView'
print(x, browse = interactive(), ...)
x |
A muiTreeView object (also inherits shiny.tag). |
browse |
Whether to render in viewer. Defaults to TRUE in interactive sessions. |
... |
Additional arguments passed to print. |
Invisibly returns x.
tree <- RichTreeView(
items = list(list(id = "1", label = "Item"))
)
# browse = FALSE prints the underlying HTML instead of opening the viewer.
print(tree, browse = FALSE)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.