This repository is a mirror of the component module ramitos/resize. It has been modified to work with NPM+Browserify. You can install it using the command npm install npmcomponent/ramitos-resize
. Please do not open issues or send pull requests against this repo. If you have issues with this repo, report it to npmcomponent.
resize event for any DOM element with polling. demo
$ component install ramitos/resize
var resize = require('resize');
resize.bind(document.getElementById('mytextarea'), function () {});
pollingInterval
default is 250ms
MIT