Skip to content

add btf-dragon-base and btf-dragon-container#15

Open
johlrich wants to merge 1 commit intobtford:masterfrom
johlrich:btf-dragon-container
Open

add btf-dragon-base and btf-dragon-container#15
johlrich wants to merge 1 commit intobtford:masterfrom
johlrich:btf-dragon-container

Conversation

@johlrich
Copy link

@johlrich johlrich commented Oct 9, 2013

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?

Adds optional ability to separate the base directive from the container
holding the draggable elements.
@cesarandreu
Copy link

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

This should be added to the master one.

jimschubert added a commit to jimschubert/angular-dragon-drop that referenced this pull request Jan 22, 2015
add btf-dragon-base and btf-dragon-container

Conflicts:
	README.md
	dragon-drop.js
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants