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

Example for Droppable #181

Open
wants to merge 8 commits into
base: master
Choose a base branch
from
Open

Example for Droppable #181

wants to merge 8 commits into from

Conversation

rposener
Copy link

Updated to add example for droppable, also added couple lines in draggable to support updating the data set as I noticed the draggable was not updating the data when the observable changed.

@JD-Robbs
Copy link
Contributor

This new binding is great - thanks!

I've worked out that something like the following can be done when needing access to the target collection as well as the dropped item (where $data is the target collection):

droppable: function(droppedItem) { $component.someMethod($data, droppedItem); }

@rniemeyer
Copy link
Owner

@rposener - thanks! I will review and merge this when I get a chance (may be a few days).

@rposener
Copy link
Author

This now also has fix for bug #186 .

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.

3 participants