throttle-hyh
v1.0.7
Published
limit the number of events per second #install ```bash npm throttle-hyh ```
Downloads
2
Readme
limit the number of events per second #install
npm throttle-hyh
by commonJS
let storageUtil = require("throttle-hyh");
by Script tag
<script src="./index.js"></script>
#API
canvas.addEventListener('mousemove', throttle(onMouseMove, 10), false);