R/loon_siderbarPanel.R

Defines functions loon_sidebarPanel.default loon_sidebarPanel

# return tabPanel with corresponding sidebarPanel
loon_sidebarPanel <- function(loon.grob, tabPanelName,
                              colorList, selectBy,
                              linkingGroup, linkingGroups, loonWidgetsInfo,
                              showWorldView, displayedPanel) {
  obj <- character(0)
  class(obj) <- names(loon.grob$children)
  UseMethod("loon_sidebarPanel", obj)
}

loon_sidebarPanel.default <- function(loon.grob, tabPanelName,
                                      colorList, selectBy,
                                      linkingGroup, linkingGroups, loonWidgetsInfo,
                                      showWorldView, displayedPanel) {
  shiny::tabPanel(
    title = tabPanelName,
    shiny::fixedRow(
      shiny::column(
        6,
        do.call(
          shiny::helpText,
          list(inputId = paste0(tabPanelName, "text"),
               "None Interactive Widget"
          )
        )
      )
    )
  )
}

Try the loon.shiny package in your browser

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

loon.shiny documentation built on Oct. 8, 2022, 5:05 p.m.