5 ms·
Shame it uses the bloated jquery UI
by NewsReader42 13y ago
Shame it uses the bloated jquery UI
- skidding 13y agoNot a big fan of jQuery UI myself, but just the dragging capabilities are built on top of jquery.draggable, the rest is jQuery and even DOM agnostic. We build the lib into two components. There's the jQuery-dependent one that just powers the UI interaction and translates cols and rows into pixels for DOM elements. Then there's the main logic, which is an agnostic class that implements all the grid positioning and collision management logic. This makes it possible to calculate new grid positions on the server-side. Same with running unit tests.
- SergeyDruid 13y agoI liked this script, do you know something good not made in jQuery UI? thanks
- mc_hammer 13y agosimilar libs: packery, masonry, gridster
- Gigablah 13y agoFrom what I can see, jQuery UI is only brought in to add draggable functionality. It's possible to leave it out if you want. Or just build jQuery UI with only the draggable component.