cstefanache / angular2-img-cropper

Angular 2 Image Cropper
MIT License
364 stars 135 forks source link

Is it possible to call a function when dragging/sizeChange #109

Open RobertThwaite opened 7 years ago

RobertThwaite commented 7 years ago

I am using Dynamic Model Driven forms, The issue I am having is been able to grab the cropped Image. I am currently using a hidden Input which grabs the image on "fileChangeListener" as used in the Imgcropper example. The form does not seem to detect any changes to the hidden input, Only on user change (e.g. adding or deleting a letter). It does however grab the initial image before the user crops there image.

Does anyone have a idea on how I could achieve this?

Cheers Rob