Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add `collapsed` argument to dashboardSidebar() #186

Merged
merged 1 commit into from Feb 23, 2017
Merged

Conversation

@bborgesr
Copy link
Contributor

@bborgesr bborgesr commented Feb 20, 2017

This allows the sidebar to start off collapsed (fixes #73).

Should the argument name be "collapsed" or "startCollapsed" (or something else)?

Example app:

library(shinydashboard)
library(shiny)

shinyApp(
  ui = dashboardPage(
    dashboardHeader(),
    dashboardSidebar(collapsed = TRUE),
    dashboardBody()
  ),
  server = function(input, output, session) {}
)
…art off collapsed (fixes #73)
@bborgesr bborgesr force-pushed the barbara/sidebar branch from 8c2fe27 to 21d8646 Feb 23, 2017
@bborgesr bborgesr merged commit 3f2399f into master Feb 23, 2017
0 of 4 checks passed
0 of 4 checks passed
continuous-integration/appveyor/branch Waiting for AppVeyor build to complete
Details
continuous-integration/appveyor/pr Waiting for AppVeyor build to complete
Details
continuous-integration/travis-ci/pr The Travis CI build is in progress
Details
continuous-integration/travis-ci/push The Travis CI build is in progress
Details
@bborgesr bborgesr deleted the barbara/sidebar branch Feb 23, 2017
@bborgesr bborgesr removed the in progress label Feb 23, 2017
dmpe added a commit to dmpe/shinydashboard that referenced this pull request Mar 25, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked issues

Successfully merging this pull request may close these issues.

1 participant
You can’t perform that action at this time.