0

我正在使用 nginfinityscroll 并且它没有触发滚动事件......我的代码:

<div class="listView" id="foundingScroll">
<label style="margin-top:10px">search:</label>  
<input ng-model="foundingFilter"/>
<div infinite-scroll="scrollSearch()" infinite-scroll-container="#foundingScroll">
<div ng-repeat="founding in foundings| myFilter:foundingFilter"><input type="checkbox" value="founding.id" ng-model="foundingsSearch[founding.name]" /><label>{{founding.name}}</label></div></div></div>

有任何想法吗?

4

1 回答 1

0

您似乎忘记了选择器周围的单引号。尝试这个:

<div infinite-scroll="scrollSearch()" infinite-scroll-container="'#foundingScroll'">
于 2017-06-18T15:23:28.810 回答