It'd be nice to be able to do something like
library(shiny)
library(bsplus)
ui <- fluidPage(
bs_accordion(id = "foo") %>%
bs_append(title = "bar", content = "hello world", selected = FALSE)
)
server <- function(input, output, session) {
}
shinyApp(ui = ui, server = server)
so that the accordion will initialize in a collapsed state