Skip to content

mg1075/angular-box-drag

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

27 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

angular-box-drag

jQueryUI is great, and one of its cool features is the ability to make an element draggable.

AngularJS has directives out there which allow you to drag and drop, but not all user interface scenarios for dragging require you to also do a drop. This directive is an attempt to have an angular-only way of making draggable elements. Please note this relates to a fairly specific use case: being able to open a box like the Compose box you see in GMail, and then being able to drag that box around.

Hopefully, more documentation and description of options to follow.

In the meantime, here is an example page using the directive.

http://embed.plnkr.co/GJOY98T4cVfxN42GerW9/