resize event for any DOM element with polling
JavaScript
Switch branches/tags
Nothing to show
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
src
.gitignore
component.json
readme.md

readme.md

deprecated

resize

resize event for any DOM element with polling. demo

install

$ component install ramitos/resize

example

var resize = require('resize');

resize.bind(document.getElementById('mytextarea'), function () {});

api

bind(element, callback[, pollingInterval])

pollingInterval default is 250ms

unbind(element, callback)

license

MIT