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

Resetting elements to original position?

Open TongueToe opened this issue 7 years ago • 0 comments

Is there an easy way to do this? Something along the lines of keeping track of the original position so I can move it back? I've tried clearing the array that was being read by ng-repeat, then repopulating the array with old data, but the modified positions are kept.

The screenshot is what happens after I clear & add the elements back in the array, with the arrows pointing to their origin position. Their current position is where I moved them to before the reset. capture

TongueToe avatar May 28 '17 18:05 TongueToe