angular-dragon-drop icon indicating copy to clipboard operation
angular-dragon-drop copied to clipboard

add btf-dragon-base and btf-dragon-container

Open johlrich opened this issue 11 years ago • 1 comments

Adds optional ability to separate the base directive from the container holding the draggable elements.

In this example you can drop on the image, but only drag from the item list:

<div btf-dragon="thing in things" btf-dragon-base>
  <img src="http://placekitten.com/200/200">
  <div btf-dragon-container>{{thing}}</div>
</div>

Thoughts?

johlrich avatar Oct 09 '13 02:10 johlrich

Merged your changes on my own version, worked perfectly. Thanks!

This should be added to the master one.

cesarandreu avatar Nov 19 '13 05:11 cesarandreu