Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

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