Is it possible to make a div resizable in javascript without using jquery or any other external library?
I have been looking for this answer for quite some time now , I have also gone through this example as well:
How to make HTML element resizable using pure javascript? but the problem is it is not consistent , i.e., what I mean the resizing effect is not same as that of any of achieving the same task using any external library or even with the jquery ui library .
Edit:
One more feature,there would be a small rectangle shaped to drag the image on all the four sides because with the above example if the image has the property to be moved around and draggable at the same time, a single mouse click on the image would be confusing for the user which lets the image to be both moved and dragged at the same time.
Is there any solution for this?