Skip to content

Latest commit

 

History

History
28 lines (20 loc) · 1.3 KB

README.md

File metadata and controls

28 lines (20 loc) · 1.3 KB

Native AngularJs drag and drop directive

An easy to use, native, directive to enable drag/drop in your angular app. This directive has no dependency on jQuery or other frameworks, it does require a browser that supports the HTML5 drag/drop events.

Live Demo

Documentation

UUID Service

A very simple service for working with UUIDs.

Live Demo

Documentation

Changes in this fork

The original repo doesn't seem to get updates, so I've added my changes and fixes to my own fork.

  • Clean up code (indentation, semicolons)
  • Fixed bower.json to include the required lvl-uuid.js as well
  • Added the ability to disable drag and drop: <div lvl-draggable="{{ authentication.isAdmin() }}"></div>
  • Fixed AngularJS 1.3 compatibility by returning id's instead of elements
  • Fixed a big memory leak
  • Add a lvl-dragging class to the element while it's being dragged

Install this fork

bower install https://github.com/kevinrenskers/lvlDragDrop.git --save