Is it possible to have a drag and drop function using AngularJS without relying on the jQuery user interface?

I saw http://codef0rmer.imtqy.com/angular-dragdrop/#/list , but this requires jQuery and jQuery UI. If possible, I would not want to have these dependencies.

+6
source share
2 answers

AngularJS Documentation SURPRISINGLY has an example of this on the compiler page. Check this. You may need to add to it, but this is a great simple example of how to write a directive to get drag-and-drop functionality.

+4
source

Yes, ngDraggable is designed to support drag and drop functionality without depending on the jQuery user interface.

I made some splash and it worked fine in PC browsers, however still it still has problems with the user interface. Below is a live demo .

+1
source

Source: https://habr.com/ru/post/955591/


All Articles