angular-drag-and-drop-lists icon indicating copy to clipboard operation
angular-drag-and-drop-lists copied to clipboard

dnd-drop overwrites dnd-moved

Open erperejildo opened this issue 5 years ago • 0 comments

I had the second one working fine but since I added a empty dnd-drop it doesn't work:

<ul dnd-list="list" dnd-drop="onDrop(list, item, index)">
                <li ng-repeat="item in list"
                    dnd-draggable="item"
                    dnd-effect-allowed="move"
                    dnd-moved="list.splice($index, 1)"
                    ng-class="{selected: models.selected === item}"
                    ng-include="item.type + '.html'">
                </li>
            </ul>
$scope.onDrop = function(list, item, index) {
        console.log("finished ")
      };

erperejildo avatar Jun 22 '20 17:06 erperejildo