I am looking for an easy way to allow a user to resize a div using handles and all the corresponding cursors. I see many examples using jquery, but I would like to use it in a reaction and jquery is not required.
Does anyone know an easy way to do this? I assume pure js, css. I really do not want to use a reaction component for this, since I need to enable resizing in standard divs.
Of course, for use with reactjs, is there a more modern way to do this without jquery?
** EDIT **
These are cursors that can be used for each modifiable point.
e-resize ne-resize n-resize nw-resize s-resize se-resize w-resize sw-resize
source
share