bevacqua / angularjs-dragula

:ok_hand: Drag and drop so simple it hurts
https://bevacqua.github.io/angularjs-dragula
MIT License
509 stars 110 forks source link

Examples are hot steaming piles of shit #108

Closed brandonros closed 7 years ago

brandonros commented 7 years ago

The documentation says

This package isn't very different from dragula itself. I'll mark the differences here, but please refer to the documentation for dragula if you need to learn more about dragula itself.

However, the actual package does: dragula([document.getElementById(left), document.getElementById(right)]); which 110% does not work with this steaming pile of shit of a package.

What?

brandonros commented 7 years ago

For people who need something to work in a pinch:

<div dragula="'bag-one'">
    <div>1</div>
    <div>2</div>
</div>

The bag is the "container".