Tag: angular

How to limit the image width of ngx-image-cropper to its popup container

I have a popup with dimension (WIDTH,HEIGHT) and ngx-image-cropper (https://www.npmjs.com/package/ngx-image-cropper) inside <div mat-dialog-container> <image-cropper [imageBase64]="imageFile" [maintainAspectRatio]="true" [aspectRatio]="aspectRatio" [cropperStaticWidth]="cropperStaticWidth" [cropperStaticHeight]="cropperStaticHeight" [hideResizeSquares]="true"

Continue reading