Using Bootstrap typeahead with Angular

前端 未结 7 1136
生来不讨喜
生来不讨喜 2020-12-23 22:35

I am currently developing a web application which uses twitter-bootstrap and Angularjs in good harmony. However, I have problems with the typeahead and using it as a ng-mode

7条回答
  •  天涯浪人
    2020-12-23 22:52

    There is a working native implementation in AngularStrap for Bootstrap3 that leverages ngAnimate from AngularJS v1.2+

    • Demo : http://mgcrea.github.io/angular-strap/##typeaheads

    You may also want to checkout:

    • Source : https://github.com/mgcrea/angular-strap/blob/master/src/typeahead/typeahead.js
    • Plunkr : http://plnkr.co/edit/VB43wxoDBhVyRMnKUHr9?p=preview

提交回复
热议问题