ngDraggable icon indicating copy to clipboard operation
ngDraggable copied to clipboard

Hide Element moved

Open nathpaiva opened this issue 11 years ago • 0 comments

Hey there, I used this module in my project but I want to hide the element moved of the original position.

I don't know how I can do that and I search some information but I didn't found anything!

my code is:

<ul class="moreOptions">
      <!-- drag element -->
      <li data-ng-repeat="(parameter,name) in name.nameSub track by $index" data-ng-show="name" data-ng-drag="true" data-ng-drag-data="{'name':'{{name.firstName}}','numericalId':'{{name.numericalId}}','index':{{$parent.$index}}}" data-allow-transform="true" nd-hide="true" data-ng-drag-success="onDragComplete($data,$event,$index)">
            {{name.firstName}}
      </li>
</ul>
<ul class="box-choice" data-ng-drop="true" data-ng-drop-success="onDropComplete($data,$event,$index)">
      <!-- drop element -->
      <p>Select one option</p>
      <li class="select" data-ng-repeat="(parameter,obj) in droppedObjects track by $index" data-ng-if="verifyChoice(obj.numericalId, categoria.numericalId, obj.index, $parent.$index)">
         {{obj.name}} <b data-ng-click="deleteItem($index)" class="remove">+</b>
      </li>
</ul>

nathpaiva avatar Oct 02 '15 00:10 nathpaiva