3

Is there a native dragdrop solution for AngularJS, that can handle drag an dropping between nested ng-repeats?

What the current html looks like:

<section ng-repeat="list in lists">
   {{ list.name }}
   <article ng-repeat="user in list.users">
     {{ user.name }}
   </article>
</section>

What I'm trying to achieve is that I can move users to other lists.

I don't wanna have to add jQuery UI as a dependency for just dragdropping.

3 Answers 3

2

I had the same problem and wanted to use native HTML5, too. Since I couldn't find anything I eventually had to build my own library, check out the results:

http://marceljuenemann.github.io/angular-drag-and-drop-lists/demo/#/nested

Sign up to request clarification or add additional context in comments.

Comments

1

There is no native drag and drop in Angular, but look this awesome directive

http://codef0rmer.github.io/angular-dragdrop/#/

Check the examples, i hope thouse will helps you

Comments

0

Angular-NestedSortable is really usefull for this case.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.