I'm looking for a way to detect the mouseup event at the very end of a window resizing (when done by dragging). (AFAICT, this event is not picked up by a resize
handler on $(window)
or on $(document)
.)
PS: for my purposes it is OK to define a "drag-resize" as the resizing that takes place between a mousedown (on a suitable resizing locus on the window) and its corresponding mouseup event, disregarding any pauses the user may make, while still holding down the mouse button, between those two end points.
resizeEnd()
event but you'll need something more cross-browser. The current best practice I believe is to wait for the browser to "stop resizing", as in "you have your mouse down but haven't done anything with it for x amount of time." When that time expires, you can raise an event. See here for examples: #5490446 – Besides