大佬教程收集整理的这篇文章主要介绍了Angularjs手风琴ng点击面板标题,大佬教程大佬觉得挺不错的,现在分享给大家,也给大家做个参考。
这是我尝试过的;
<accordion-group is-open="isopen"> <accordion-heading ng-click="isopen=!isopen"> I can have markup,too! <i class="pull-right glyphicon" ng-class="{'glyphicon-chevron-down': isopen,'glyphicon-chevron-right': !isopen}"></i> </accordion-heading> This is just some content to illustrate fancy headings. </accordion-group>
NG-点击= “ISOPEN =!ISOPEN”
This is the link I tried on Plunker
提前致谢..
<accordion close-others="oneAtATime"> <accordion-group is-open="isopen" ng-click="isopen=!isopen"> <accordion-heading > I can have markup,too! <i class="pull-right glyphicon" ng-class="{'glyphicon- chevron-down': isopen,'glyphicon-chevron-right': !isopen}"> </i> </accordion-heading> This is just some content to illustrate fancy headings. </accordion-group> </accordion>
结束编辑
包含< accordion-heading>的内容在< div>中
<accordion close-others="oneAtATime"> <accordion-group is-open="isopen" > <accordion-heading ng-click="isopen=!isopen"> <div> I can have markup,'glyphicon-chevron-right': !isopen}"> </i> </div> </accordion-heading> This is just some content to illustrate fancy headings. </accordion-group> </accordion>
以上是大佬教程为你收集整理的Angularjs手风琴ng点击面板标题全部内容,希望文章能够帮你解决Angularjs手风琴ng点击面板标题所遇到的程序开发问题。
如果觉得大佬教程网站内容还不错,欢迎将大佬教程推荐给程序员好友。
本图文内容来源于网友网络收集整理提供,作为学习参考使用,版权属于原作者。
如您有任何意见或建议可联系处理。小编QQ:384754419,请注明来意。