I am using below library to use autocomplete directive in my module for AngularJS!. [https://github.com/JustGoscha/allmighty-autocomplete]
I want to execute a function when user has stopped typing, is there a way I can do this?
I am using below library to use autocomplete directive in my module for AngularJS!. [https://github.com/JustGoscha/allmighty-autocomplete]
I want to execute a function when user has stopped typing, is there a way I can do this?
You can do it using ng-change
and ng-model-options
(Angular 1.3+ only):
<input type="text"
ng-model="myVar"
ng-model-options="{debounce: 1000}"
ng-change="functionToBeCalled()"/>