Element onResize and onMove events

Behrang Saeedzadeh behrangsa at gmail.com
Wed Dec 3 23:37:26 PST 2014


Hi,

Are there any plans to add resize and movement event listeners for DOM
elements?

elem.addEventListener("move", function(e) {
    console.log(o.target.oldLocation);
    console.log(o.target.newLocation);
});


Are there technical limitations why these events or not being defined for
elements?

Best regards,
Behrang
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.mozilla.org/pipermail/es-discuss/attachments/20141204/a2089399/attachment.html>


More information about the es-discuss mailing list