How to put a delay on AngularJS instant search?

前端 未结 13 1636
醉梦人生
醉梦人生 2020-11-30 16:55

I have a performance issue that I can\'t seem to address. I have an instant search but it\'s somewhat laggy, since it starts searching on each keyup().

13条回答
  •  情歌与酒
    2020-11-30 17:52

    Just for users redirected here:

    As introduced in Angular 1.3 you can use ng-model-options attribute:

    
    

提交回复
热议问题