Browse Source

Fix documentation for onAdd event .from

pull/177/head
Dan Dascalescu 10 years ago
parent
commit
b8dd657236
  1. 2
      README.md

2
README.md

@ -72,7 +72,7 @@ var sortable = new Sortable(el, {
// Element is dropped into the list from another list
onAdd: function (/**Event*/evt) {
var itemEl = evt.item; // dragged HTMLElement
itemEl.from; // previous list
evt.from; // previous list
// + indexes from onEnd
},

Loading…
Cancel
Save