Big News: Socket raises $60M Series C at a $1B valuation to secure software supply chains for AI-driven development.Announcement
Sign In

sortablejs-plugin-debounce

Package Overview
Dependencies
Maintainers
1
Versions
5
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

sortablejs-plugin-debounce

A Sortablejs Plugin, to debounce placing when dragging element.

latest
Source
npmnpm
Version
1.0.4
Version published
Weekly downloads
4
300%
Maintainers
1
Weekly downloads
 
Created
Source

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. 
  });

Keywords

sortablejs

FAQs

Package last updated on 09 Jul 2023

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts