Browse Source

Update readme for new parameters to scrollCustomFn

pull/1266/head
Noel Heesen 7 years ago
parent
commit
423e055acd
  1. 2
      README.md

2
README.md

@ -101,7 +101,7 @@ var sortable = new Sortable(el, {
fallbackTolerance: 0, // Specify in pixels how far the mouse should move before it's considered as a drag.
scroll: true, // or HTMLElement
scrollFn: function(offsetX, offsetY, originalEvent) { ... }, // if you have custom scrollbar scrollFn may be used for autoscrolling
scrollFn: function(offsetX, offsetY, originalEvent, touchEvt, hoverTargetEl) { ... }, // if you have custom scrollbar scrollFn may be used for autoscrolling
scrollSensitivity: 30, // px, how near the mouse must be to an edge to start scrolling.
scrollSpeed: 10, // px

Loading…
Cancel
Save