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