Nafaa Azaiez
Nafaa Azaiez

Reputation: 131

Make a div resizable in Angular2/4

I'm trying to get a div (with an image inside) to be draggable and resizable in Angular2/4. So far i succeded to make it draggable with "angular2-draggable" but I can't find a module/directive that allow me to resize my div.

I tried a bunch of module i found on the net but can't get it to work.

Does anyone know a module that he successfully used that is well explained ? If not, can I use jquery-ui with angular to get the job done ?

Thank you.

Upvotes: 0

Views: 4584

Answers (2)

Nafaa Azaiez
Nafaa Azaiez

Reputation: 131

I found a library that does everything I want to do (drag, resize, rotate, fill with img, and much much more) fabric.js

Upvotes: 1

shokha
shokha

Reputation: 3179

Did you try angular2-resizable? https://www.npmjs.com/package/angular2-resizable

Upvotes: 1

Related Questions