1
votes

Is there any way of changing the default opening direction of Angular-UI bootstrap accordion component?

I have been looking into ui-bootstrap-tpls.js and I found that acoordion-toggle class is set for accordion template, but I can't found this class anywhere!

http://angular-ui.github.io/bootstrap/#/accordion

I want to open it to the left side, thanks.

1
The Angular UI Accordion directive depends on the Collapse directive. I believe you are looking for this code: github.com/angular-ui/bootstrap/blob/master/src/collapse/… - callmekatootie
This is a good point to start, I will try to change height to width, thank you! - hmartos
Just an updated: Angular UI Bootstrap includes an horizontal collapse since version 2.0.0 that could make the trick - hmartos

1 Answers

0
votes

this class is in the detective template file. I suggest that you override accordion-toggle in your css files and ensure that this file is the last included