Using bootstrap collapse with angularjs

前端 未结 5 791
余生分开走
余生分开走 2020-12-25 09:41

I\'m trying to include the below bootstrap collapsible panel in my angular application. However, when I click on \"Expand\", angular seems to see href=\"#collapseOne\"

5条回答
  •  孤城傲影
    2020-12-25 10:23

    You can use the accordion directive from AngularJS UI Bootstrap that builds on top of twitter bootstrap the collapse directive.

    example:

     
        
          This content is straight in the template.
        
     
    

    Live example: http://jsfiddle.net/choroshin/U89bW/3/

提交回复
热议问题