Browse Source

Merge branch 'dev' of github.com:RubaXa/Sortable into dev

pull/177/head
RubaXa 10 years ago
parent
commit
23c9c25e6a
  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 // Element is dropped into the list from another list
onAdd: function (/**Event*/evt) { onAdd: function (/**Event*/evt) {
var itemEl = evt.item; // dragged HTMLElement var itemEl = evt.item; // dragged HTMLElement
itemEl.from; // previous list evt.from; // previous list
// + indexes from onEnd // + indexes from onEnd
}, },

Loading…
Cancel
Save