You are here: Home » NewsFeeds » Dragula: Drag and drop so simple it hurts

Dragula: Drag and drop so simple it hurts

readme.markdown

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 article