Using bootstrap collapse with angularjs

前端 未结 5 789
余生分开走
余生分开走 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

    Click the buttons below to show and hide another element via class changes:

    • collapse hides content

    • collapsing is applied during transitions

    • collapse.in shows content

    You can use a link with the href attribute, or a button with the data-target attribute. In both cases, the data-toggle="collapse" is required.

    check this example below.

    Bootsrap Example

提交回复
热议问题