How to put a delay on AngularJS instant search?

前端 未结 13 1633
醉梦人生
醉梦人生 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:30

     
    

    Now we can set ng-model-options debounce with time and when blur, model need to be changed immediately otherwise on save it will have older value if delay is not completed.

提交回复
热议问题