It is very simple to make an element manually resizable using two lines of CSS. Like this:
div {
resize: both;
overflow: auto;
width: 100px;
height: 100px;
border: 1px solid #333333;
}
<div></div>
Run codeNow I would like to determine when the user clicks on the resize item.

Oddly enough, Internet Explorer seems to be the only browser that attaches the event onResizeto elements (except the window). But even if it is implemented in other browsers, this is not exactly what I am looking for, because I need to know when the click size is changed, not changed.
I looked at the attaching listeners to mousedownand checked against currentTargetvs targetto see if they are different. No luck - both return the element itself.
, , , , , . .
?