Skip to content

supraniti/Lean-Mean-Drag-and-Drop

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Lean-Mean-Drag-and-Drop

Lean & Mean Drag and Drop is a small script for dragging, dropping, sorting and reordering html structures

Features

  • Supports nested structures ('nestable sortables')
  • Smooth transitions
  • Auto scroll while dragging
  • Lightweight (~3.5kb gzipped) With no dependencies
  • Supports touch events
  • Super easy to integrate

Usage

//Load LMDD css and js files

<link href="../css/lmdd.min.css" rel="stylesheet">
<script src="../js/lmdd.min.js"></script>

//Initialize LMDD instance with your preferred options

<script>lmdd.set(document.getElementById('markupID'),{optionsObject});</script>

Examples & Instrcutions

can be found here: https://supraniti.github.io/Lean-Mean-Drag-and-Drop/

Notes

  • Bug reports, Feature requests, Questions and any other feedback are welcome

License

MIT