Dragula: Drag and drop so simple it hurts


Drag and drop so simple it hurts

Browser support includes every sane browser and IE7+. (Granted you polyfill the functional Array methods in ES5)

Framework support includes vanilla JavaScript, Angular, and React.

Try out the demo!

Have you ever wanted a drag and drop library that just works? That doesn’t just depend on bloated frameworks, that has great support? That actually understands where to place the elements when they are dropped? That doesn’t need you to do a zillion things to get it to work? Well, so did I!

Super easy to set up
No bloated dependencies
Figures out sort order on its own
A shadow where the item would be dropped offers visual feedback
Touch events!
Seamlessly handles clicks without any configuration
You can get it on npm.

npm install dragula –save

Or bower, too.

bower install dragula –save

Or a CDN.

If you’re not using either package manager, you can use dragula by downloading the files in the dist

Original URL: http://feedproxy.google.com/~r/feedsapi/BwPx/~3/SIjtwwUDnq4/dragula

Original article

Comments are closed.

Proudly powered by WordPress | Theme: Baskerville 2 by Anders Noren.

Up ↑

%d bloggers like this: