Amit Gharat

Results 21 comments of Amit Gharat

@bradrich The annotated code above is for static attributes only such as `data-drag="true"` or `data-drag="false"`. @mentalernie If you want the behavior to be dynamic, you've to use a model and...

@bradrich @mentalernie How can I reproduce the issue with data-drop?

@phuwin You are doing it wrong. Pls refer, https://github.com/codef0rmer/angular-dragdrop/blob/master/demo/dnd-shoppingcart.html

@phuwin AFAIK, your demo is quite similar to the shopping cart demo I shared earlier. Please refer to it because `insertInline` and other stuff you do not need.

You do not need to use `insertInline` in order to sort the array, that's not why the feature was introduced. The `insertInline` is like sortable in jqueryUI. For the sorting...

@damrem Thanks man..! Can you add a unit test?

@damrem Thanks for adding tests. I noticed that the `direction` animation breaks by not using deepCopy by default in https://github.com/codef0rmer/angular-dragdrop/blob/master/demo/dnd-insertInline.html. I do not remember If I intentionally left it to...

@dimkinv Can you add a test along with it? Also, I'm not able to understand the use of it, any example?