Closed jasonkuhrt closed 8 years ago
Not yet. Note we'd also need to clean up the extra elements that are added. PR welcome or I'll get to this eventually.
I will try to cook something up...
Thanks!
Has anyone made any un-published progress on this?
There is another library that gives element level resize notifications and has unbind support. See https://github.com/marcj/css-element-queries. The main focus of the plugin is much higher level (to provide css element queries, not just resize detection), but it does expose a small module that does the resize tracking only.
See https://github.com/marcj/css-element-queries/blob/master/src/ResizeSensor.js and the "ResizeSensor Demo" section at http://marcj.github.io/css-element-queries/
Can this issue be closed?
Yup!
Pull request submitted to add documentation for unbind
: https://github.com/KyleAMathews/element-resize-event/pull/20
It appears there is no way to remove event handlers. Is this correct?