An open API service indexing awesome lists of open source software.

https://github.com/victornpb/drag-and-resize

My first time implementing drag and resize on the web before jquery was even a thing
https://github.com/victornpb/drag-and-resize

drag-and-drop ie6 javascript javascript-library ui-components vanilla-javascript

Last synced: about 2 months ago
JSON representation

My first time implementing drag and resize on the web before jquery was even a thing

Awesome Lists containing this project

README

        

drag-and-resize
===============

This was my first time implementing drag and resize on the web, this was before jquery was even a thing. I remember I implemented this without looking at any other code, drag interfaces wasn't popular at all at the time (on the web at least). At the time I used IE6 as my main browser, I'm surprised that it still works to this day.

I certainly remember IE6 wasnt particularly fast at refreshing the boxes under the cursor, they lagged a bit behind the cursor, that's why the mousemove is registered outside the elements, because the cursor would get outside the box if you dragged it too fast. So this was "optimized for performance" back then.

http://victornpb.github.io/drag-and-resize/

![2019-09-07 14-49-25 2019-09-07 14_54_55](https://user-images.githubusercontent.com/3372598/64478474-66f69a80-d17f-11e9-8d8a-bf384703de59.gif)