fatlinesofcode / ngDraggable

Drag and drop module for Angular JS
MIT License
631 stars 400 forks source link

Made drag delay configurable by attribute #194

Closed ndelvalle closed 4 years ago

ndelvalle commented 8 years ago

This PR fix #163 issue. Usage example:

<ul class="draggable-objects">
  <li  ng-repeat="obj in draggableObjects" >
   <div ng-drag="true" ng-drag-data="obj" press-timeout="10" data-allow-transform="true"> {{obj.name}} </div>
 </li>
</ul>

I have better results using 10 milliseconds timeout. If press-timeout attribute is not defined, 100 will be used as default.

scantineau commented 8 years ago

Thanks ! Please merge !

ndelvalle commented 4 years ago

It looks like this PR is not going to be merged. Closing it because I do not like to have this on my PR list.