This is where you’ll be wanting a technique called debounce, which ensures that a function is called only ones per x number of milliseconds.
See Stop Clicking that Mouse! Event Debounce with Underscore.js for further good details about it.
This is where you’ll be wanting a technique called debounce, which ensures that a function is called only ones per x number of milliseconds.
See Stop Clicking that Mouse! Event Debounce with Underscore.js for further good details about it.