Browse Source

Update README.md

pull/956/head
Lebedev Konstantin 8 years ago committed by GitHub
parent
commit
4e92279eff
  1. 4
      README.md

4
README.md

@ -83,8 +83,8 @@ var sortable = new Sortable(el, {
scrollSensitivity: 30, // px, how near the mouse must be to an edge to start scrolling.
scrollSpeed: 10, // px
setData: function (dataTransfer, dragEl) {
dataTransfer.setData('Text', dragEl.textContent);
setData: function (/** DataTransfer */dataTransfer, /** HTMLElement*/dragEl) {
dataTransfer.setData('Text', dragEl.textContent); // `dataTransfer` object of HTML5 DragEvent
},
// dragging started

Loading…
Cancel
Save