angular-strap icon indicating copy to clipboard operation
angular-strap copied to clipboard

Collapse panels open by default

Open NickToye opened this issue 11 years ago • 4 comments

It would be really awesome if we can have the option to have the panels open or closed, and all open or all closed.

I know we can specify a number from an array index, but it's not going to work if there is an endless amount of panels in the collapse group.

I'm quite new at Angular so not really sure how I could achieve this, but I'll see if I can see how.

NickToye avatar Nov 17 '15 16:11 NickToye

There is a "Multiple open panels sample" in the docs under the Collapse directive, have you tried it out?

vmlf01 avatar Nov 17 '15 16:11 vmlf01

Yes, but you have to specify a number from an array index which I have mentioned in my original comment.

NickToye avatar Nov 17 '15 16:11 NickToye

There is a data-start-collapsed attribute, would that solve your issue?

DaleWebb avatar Apr 06 '16 12:04 DaleWebb

This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

lock[bot] avatar Jan 25 '19 22:01 lock[bot]