An AngularJS plugin to group multiple change events into one call. Useful for reducing the
number of calls done to a high-intensive
- AngularJS 1.1.x+
First, include the
delayed-change module in your application:
Next, use the directive in the same way you would use ng-change
NOTE: The callback function given may not be called each and every time the
ng-model is changed.
This is because the directive tries group multiple changes into one event.
To customize the default options, simply use the
300) - The max time to wait before calling change function, in milliseconds
start- Function called before change function is called
end- Function called after change function is called