I used shinydashboard
to create my app. I would like to hide the sidedar in default on desktop environment (e.g. windows), but not to disable it. On the mobile device, the sidebar is hide in default. I think I need to change the css class, but don't know how to do it.
Thanks for any suggestions.
This is my playing codes:
library(shiny)
library(shinydashboard)
ui <- shinyUI(dashboardPage(
dashboardHeader(),
dashboardSidebar(),
dashboardBody()
))
server <- shinyServer(function(input, output, session) {
})
shinyApp(ui = ui, server = server)