nCore
nCore

Reputation: 2097

angular2 drag and drop

Trying to have a drag and drop feature in my app I have seen jquery ui DnD which I think is fine but is there an angular2 way of doing it? Also want to connect objs like how flow-based design works.

I know there's ng2-dragula but that only drag obj from one container to another and won't allow you position the obj anywhere on the canvas.

idea of the feature I'm trying to do. http://www.jointjs.com/rappid#ebe312a3-01da-437c-825a-555323a7bb52

Upvotes: 0

Views: 612

Answers (2)

Sanket
Sanket

Reputation: 20047

Take a look at angular2-grid. Angular 2 grid is a drag/drop/resize grid-based plugin directive for Angular 2.

Demo available here

See if this helps.

Upvotes: 0

miquelarranz
miquelarranz

Reputation: 894

If you don't find an angular 2 library that fits your requirements you should consider using a non-angular2 alternative. So if the drag and drop library of JQuery ui works for you, use it!

It's difficult to find complete libraries in Angular 2 since it does not has a final version yet.

Upvotes: 1

Related Questions