The CSS3 resize property can be assigned to arbitrary elements. I\'m looking for a way to detect such a resize on, say, divs (I don\'t mind it only working in Firefox at the
Since the resize
event clearly doesn't work (currently, at least), you can try one of these alternative options:
mousedown
, mousemove
and/or mouseup
to tell whether the div
is being / has been resized. If you want really fine-grained control you can check in every mousemove
event how much / if the div has been resized. If you don't need that, you can simply not use mousemove
at all and just measure the div
in mousedown
and mouseup
and figure out if it was resized in the latter.