RinteRface / shinydashboardPlus

extensions for shinydashboard
https://shinydashboardplus.rinterface.com
Other
454 stars 77 forks source link

widgetUserBox, collapsed at application start #52

Closed terpsrule closed 4 years ago

terpsrule commented 5 years ago

I'm using widgetUserBox in shiny, is there a way to default to the collapsed state (rather than defaulting to the expanded state) when the page is loaded?

For boxPlus(), it has an option "collapsed" to control this, but that option does not exist for widgeUserBox()

widgetUserBox(..., title = NULL, subtitle = NULL, type = NULL, background = FALSE, backgroundUrl = NULL, src = NULL, color = NULL, footer = NULL, footer_padding = TRUE, width = 6, height = NULL, boxToolSize = "sm", collapsible = TRUE, closable = FALSE)

Any suggestions?