bevacqua / dragula

:ok_hand: Drag and drop so simple it hurts
https://bevacqua.github.io/dragula/
MIT License
22.04k stars 1.97k forks source link

Container-based options #444

Open randohinn opened 7 years ago

randohinn commented 7 years ago

Please only use GitHub issues for bug reports and feature requests.

I have a feature request for container-based options within the same drake as I could not find a way for this in the docs. This would be very useful if we want to maintain a single instance of drake, but have different behaviours for different container elements. So one could for example do something like this: drake.containers.push($('.content-panel')[0], {copy:true} ); to get a single container in your drake instance, that'd be a copy container.

randohinn commented 6 years ago

@bevacqua Any plans on supporting this?