【发布时间】:2018-04-24 05:56:39
【问题描述】:
如何实现一个搜索栏来搜索我网站内的内容?我的网站是用 AngularJs 编写的。
【问题讨论】:
标签: angularjs search web web-crawler
如何实现一个搜索栏来搜索我网站内的内容?我的网站是用 AngularJs 编写的。
【问题讨论】:
标签: angularjs search web web-crawler
希望this plunkr will help you to get some head start
<input type="text"
ng-model="customSelected" placeholder="Custom template"
uib-typeahead="state as state.name for state in statesWithFlags | filter:{name:$viewValue}"
typeahead-template-url="customTemplate.html"
class="form-control"
typeahead-show-hint="true"
typeahead-min-length="0">
我已经使用ui-bootstrap-tpls-2.5.0.js 来实现这个角度实现。
【讨论】: