Skip to content

Example for Droppable#181

Open
rposener wants to merge 8 commits intorniemeyer:masterfrom
rposener:master
Open

Example for Droppable#181
rposener wants to merge 8 commits intorniemeyer:masterfrom
rposener:master

Conversation

@rposener
Copy link
Copy Markdown

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
Copy Markdown
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
Copy Markdown
Owner

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

@rposener
Copy link
Copy Markdown
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