angular-cropperjs icon indicating copy to clipboard operation
angular-cropperjs copied to clipboard

Default Cropper Options differ from cropperjs defaults

Open DanielEberl opened this issue 7 years ago • 2 comments

angular-cropperjs/src/angular-cropperjs.component.ts

Line 121 this.cropperOptions = Object.assign({ aspectRatio, movable: false, scalable: false, zoomable: false, viewMode: 1, checkCrossOrigin: true }, this.cropperOptions);

Why do this options differ from the default config, that is described in the documentation of cropperjs?

I just spend an hour working out why the cropper.zoom() method is not working while rotate works.

Please update all configs to be the same as the original cropperjs libary.

DanielEberl avatar Aug 09 '18 07:08 DanielEberl

Hi there, i am currently rewriting the lib with ng6, update coming soon

matheusdavidson avatar Aug 09 '18 15:08 matheusdavidson

And by the way, thank you for this library. Maybe my post seemed a bit harsh, sorry for that.

And thank you for your quick response!

DanielEberl avatar Aug 09 '18 19:08 DanielEberl