1.0.1 • Published 7 years ago
@tuxsudo/debounce v1.0.1
Debounce
Debounces the execution of a function. Written as an ES6 module.
import debounce from '@tuxsudo/debounce';
window.addEventListener('scroll', debounce( () => console.count(), 200 ) );
Debounces the execution of a function. Written as an ES6 module.
import debounce from '@tuxsudo/debounce';
window.addEventListener('scroll', debounce( () => console.count(), 200 ) );