The ability to reply to discussions is limited to PRO members. Want to join in the discussion? Click here to subscribe now.

Debounce (delay) User Input in AngularJS with Lodash

Debounce (delay) User Input in AngularJS with Lodash

3:42
Lodash has an enormous amount of utility functions for dealing with collections and objects in javascript. You can use it in your AngularJS applications to "debounce" user input, or add delay between user actions. This is a common technique for text input to hold firing service calls until the user stops typing for a fraction of a second.
Watch this lesson now
Avatar
egghead.io

Lodash has an enormous amount of utility functions for dealing with collections and objects in javascript. You can use it in your AngularJS applications to "debounce" user input, or add delay between user actions. This is a common technique for text input to hold firing service calls until the user stops typing for a fraction of a second.

Avatar
Aaron

Angular 1.3 has now added native support for debouncing. See here.

HEY, QUICK QUESTION!
Joel's Head
Why are we asking?