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