es6y-throttle
v1.0.1
Published
Throttle the execution of a function. Written as an es6 source module.
Downloads
5
Readme
Throttler
Throttle the execution of a function. Written as an ES6 module.
import throttle from 'es6y-throttle';
window.addEventListener('scroll', throttle( () => console.count(), 1000 ) );