twitter-bootstrap – 在使用Angular.js的Twitter Bootstrap时是
jQLite(使用AngularJS构建)是否足以在Twitter Bootstrap中执行
javascript功能(如下拉列表)?
docs.angularjs说:
解决方法
根据
Angular UI Github,没有.
Native AngularJS (Angular) directives for Twitter's Bootstrap. Small footprint (5kB gzipped!),no 3rd party JS dependencies (jQuery,bootstrap JS) required! http://angular-ui.github.io/bootstrap/ 虽然请记住这是专门为Angular UI制作的包装器,但您可能/可能无法轻松使用其他人用此编写的引导插件. 但是使用默认的Angular UI& bootstrap的副本然后你需要jQuery,因为github存储库中的代码已被大量修改,无需jQuery即可运行. [编辑]正如评论中所述,UI Bootstrap也是一个非常好的选择. (编辑:李大同) 【声明】本站内容均来自网络,其相关言论仅代表作者个人观点,不代表本站立场。若无意侵犯到您的权利,请及时与联系站长删除相关内容! |