Skip to content

Request: ability to create an accordion that is collapsed initially #35

@daattali

Description

@daattali

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions