You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I need to allow multiple panels to be open at one time.
The attached file provides the function bs_multi_open, which modifies the HTML generated by bs_accordion to (1) enable/disable multiple panels to be open at one time and (2) specify which (if any) panels are initially open.
Thanks for this cool enhancement. I added the function (bs_multi_open) in the .txt to my shiny script. When I set multi = TRUE and open = c(1,3), the first and third panels are initially open, but when I click on a new panel, only the new panel remains open. Is that the intended behavior? Or are all three panels supposed to remain open until the user clicks on an open panel to close it?
I need to allow multiple panels to be open at one time.
The attached file provides the function
bs_multi_open
, which modifies the HTML generated bybs_accordion
to (1) enable/disable multiple panels to be open at one time and (2) specify which (if any) panels are initially open.This solves #35.
bs_multi_open.txt
Example use:
Which yields:
![image](https://user-images.githubusercontent.com/6144863/211097107-17aafbbf-434f-4aac-b039-4f4ff60960bb.png)
The text was updated successfully, but these errors were encountered: