Add more open options
All checks were successful
FarmMaps.Develop/FarmMapsLib/pipeline/head This commit looks good

This commit is contained in:
Willem Dantuma
2021-03-02 12:20:53 +01:00
parent 33adb35923
commit 08163f86bf
2 changed files with 10 additions and 2 deletions

View File

@@ -14,9 +14,11 @@
<image-cropper #imageCropper
[imageChangedEvent]="imageChangedEvent"
[maintainAspectRatio]="true"
format="jpeg"
[format]="imageType"
[aspectRatio]="aspectRatio"
[autoCrop]="true"
[resizeToWidth]="maxWidth"
[roundCropper]="roundImage"
(imageCropped)="imageCropped($event)"
(imageLoaded)="imageLoaded($event)"
(cropperReady)="cropperReady()"