angular-dragdrop icon indicating copy to clipboard operation
angular-dragdrop copied to clipboard

drag works but drop doesn't work

Open BRAEIKMiled opened this issue 8 years ago • 1 comments

the drag is working well but the drop is not working, Here is a snippet of my code: <div data-drag="true" jqyoui-draggable data-jqyoui-options="{helper: 'clone'}" id="{{device.id}}" class="device-list-item" ng-repeat="device in vm.deviceNames"> ... </div>
<div id="container" data-drop="true" data-jqyoui-options="{accept:'.device-list-item'}" jqyoui-droppable class="drop_container"> </div>

BRAEIKMiled avatar Jun 02 '17 13:06 BRAEIKMiled

You need to specify ng-model in the <div id="container "> element.

kslo88 avatar Jan 14 '19 08:01 kslo88