inst/examples/16-async/ui.R

library(shiny)
library(shinyTree)

#' Example of using promises to render a tree asynchronously
shinyUI(
  pageWithSidebar(
    # Application title
    headerPanel("shinyTree data with 'async' rendering"),
    sidebarPanel(
      helpText(HTML("An example of using promises/future to render a tree asynchronously."))
    ),
    mainPanel(
      h4("Normal Tree"),
      shinyTree("tree"),
      h4("Async Tree"),
      shinyTree("tree_async")
    )
))

Try the shinyTree package in your browser

Any scripts or data that you put into this service are public.

shinyTree documentation built on Aug. 8, 2023, 1:08 a.m.