Drag and Drop Elements and Sort Lists | draganddrop.js

Drag and Drop jQuery plugin to allow element dragging and dropping, sorting lists, and other nested structures. draganddrop.js is a jQuery drag-and-drop plugin that enables sortable and draggable functions on any DOM objects without the need for the jQuery UI library.

Supports single items, nested items, and grouped lists. Compatible with touch devices and desktop devices.

jquery drag and drop plugin free download, jquery drag and drop multiple div example, drag and drop file upload jquery plugin, jquery drag and drop example, jquery drag and drop in specific area

How to make use of it:

1. Just load the next information within the doc and the draganddrop.js library is prepared to be used.

<link href="draganddrop.css" rel="stylesheet">
<script src="//code.jquery.com/jquery.min.js"></script>
<script src="draganddrop.js"></script>

2. Enable the draggable performance on a DOM component you specify.

<div class="element">

3. Enable the sortable and draggable functionalities on an HTML checklist.

<ul class="demo">
  <li>Item 1</li>
  <li>Item 2
      <li>Item 2.1</li>
      <li>Item 2.2
          <li>Item 2.2.1</li>
  <li>Item 3
      <li>Item 3.1</li>

4. Possible choices to customize the sortable performance.

  handle: false, // handle selector
  container: container_type,
  container_type: container_type,
  same_depth: false,
  nodes: node_type,
  nodes_type: node_type,
  placeholder_class: null,
  auto_container_class: 'sortable_container',
  autocreate: false, // creates nested containers within nodes
  group: false, // is grouped
  scroll: false, // is scrolled
  update: null // callback

5. Possible choices to customize the draggable performance.

  handle: false,
  delegate: false, // selector of delegate element
  revert: false,
  placeholder: false,
  droptarget: false,
  container: false,
  scroll: false,
  update: null,
  drop: null

6. API strategies.

// disable the Draggable functionality

// returns an object representing the structure of the nested list

// disable the Sortable functionality

Mobile-friendly Drag And Drop Plugin, Drag and Drop Github, jquery drag and drop list, best drag and drop plugin jquery

See Demo And Download

Official Website(gardiner): Click Here

This superior jQuery/javascript plugin is developed by gardiner. For extra advanced usage, please go to the official website.

Related Posts


Responsive Drag and Drop File Uploader/Download Plugin | 5x5_jq_uploader

5x5_jq_uploader plugin can be used to instantly create a drop file area and file queue with a little bit of preparation. Bootstrap is used for responsive planning…


Stylesheet For Implementing Dark Mode with Bootstrap

Bootstrap Dark Mode provides a style sheet and two texts that allow you to implement Dark Mode on your website. Initially loaded based on user preferences, can…


Multi-purpose Navigation Menu for Javascript Library | jQuery Corenav

coreNavigation is a multipurpose navigation menu for a jquery based javascript library, comes with more style, and is easy to integrate. 11 Default Menu 2 Responsive Navigation…


Simple Multi-Select Dropdown Pure Vanilla Javascript | multiSelect.js

MultiSelect.js is a simple, clean, and progressive JavaScript library designed for easy integration with any type of project or system. The design was heavily influenced by the…


Confetti Falling Animation Effect In JavaScript | party.js

Party.js is a JavaScript library to brighten user site experience with visual effects! Celebrate success with dom confetti! The library is written in TypeScript and compiled into…


How To Create A Popup in HTML with CSS

How to create popup in html with css – Popup without JavaScript is an elegant pop-up panel component with an animated scale, written in CSS. Have you…