Skip to content

open-toast/lvldragdrop

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

Install this fork

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