will leave John Lennon expanded. I would rather have all panels collapsed. Is it possible to change the default behaviour to collapsed, or even add a parameter to bs_append to have collapsed/expanded?
Happy to pull and change:)
Will need to change class="panel-collapse collapse in" to class="panel-collapse collapse" for top panel
The default behaviour on bs_accordian is to expand the top accordion element.
E.g., bs_accordion(id = "meet_the_beatles") %>% bs_append(title = "John Lennon", content = "Rhythm guitar, vocals") %>% bs_append(title = "Paul McCartney", content = "Bass guitar, vocals")
will leave John Lennon expanded. I would rather have all panels collapsed. Is it possible to change the default behaviour to collapsed, or even add a parameter to bs_append to have collapsed/expanded?
Happy to pull and change:) Will need to change class="panel-collapse collapse in" to class="panel-collapse collapse" for top panel