完全删除切换按钮,隐藏和显示侧边栏在闪亮的 Jmeter 板

aurhwmvo  于 2023-05-26  发布在  其他
关注(0)|答案(1)|浏览(76)

我如何才能完全删除切换按钮,隐藏和显示在闪亮的 Jmeter 板侧边栏?

## app.R ##
library(shiny)
library(shinydashboard)

ui <- dashboardPage(
  dashboardHeader(),
  dashboardSidebar(
    collapsed = T
  ),
  dashboardBody(

    
  )
)

server <- function(input, output) { }

shinyApp(ui, server)
xwmevbvl

xwmevbvl1#

library(shiny)
library(shinydashboard)

css <- ".sidebar-toggle {display: none;}"

ui <- dashboardPage(
  dashboardHeader(),
  dashboardSidebar(
    collapsed = T
  ),
  dashboardBody(
    tags$head(tags$style(HTML(css)))
    
  )
)

server <- function(input, output) { }

shinyApp(ui, server)

相关问题