Throttler
Throttle the execution of a function. Written as an ES6 module.
import throttle from 'es6y-throttle';
window.addEventListener('scroll', throttle( () => console.count(), 1000 ) );
Throttle the execution of a function. Written as an ES6 module.
import throttle from 'es6y-throttle';
window.addEventListener('scroll', throttle( () => console.count(), 1000 ) );
npm i es6y-throttle
1
1.0.1
MIT