Is there anyway to dynamically change the sidebar width based on an input value? In the example below, I would like the width of the sidebar to be based on the sidebarWidth input:
library(shiny)
library(shinydashboard)
ui <- dashboardPage(
dashboardHeader(),
dashboardSidebar(width = 230),
dashboardBody(
numericInput("sidebarWith", "Select Sidebar Width", min = 300, max = 500, value = 230)
)
)
server <- function(input, output) { }
shinyApp(ui, server)
