1.0.4 • Published 10 months ago

sortablejs-plugin-debounce v1.0.4

Weekly downloads
-
License
MIT
Repository
github
Last release
10 months ago

sortablejs-plugin-debounce

A Sortablejs Plugin, to debounce placing when dragging element.

example:

  // use the plugin
  Sortable.mount(new DebouncePlugin()); 
  
  new Sortable(document.getElementById("list"), {
    animation: 150,
    debounce: true, // enable the plugin
    debounceTimeout: 300, // Place the element after dragging stops for 0.3 seconds.
    shakeRange: 3 // 'stops' means the element stays in a circle area of 3px, which allows the user to shake element within a threshold. 
  });
1.0.4

10 months ago

1.0.3

10 months ago

1.0.2

11 months ago

1.0.1

11 months ago

1.0.0

11 months ago