Skip to content
This repository has been archived by the owner on Nov 9, 2017. It is now read-only.
/ resize Public archive

resize event for any DOM element with polling

Notifications You must be signed in to change notification settings

sergioramos/resize

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 

Repository files navigation

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

About

resize event for any DOM element with polling

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published