npm.io
1.0.1 • Published 10 years ago

throttled-resize

Licence
MIT
Version
1.0.1
Deps
1
Vulns
0
Weekly
0

throttled-resize

ES6 throttled browser resize event dispatcher based on requestAnimationFrame.

import Resize from 'throttled-resize';

let resize = new Resize();

resize.on('resize:start', fn);

resize.on('resize:end', fn);

Browser Support

Browser Support

Keywords