Skip to content

Commit

Permalink
Changed name to previewImageSizes
Browse files Browse the repository at this point in the history
  • Loading branch information
SoyDiego committed Sep 18, 2023
1 parent b103fca commit 64122e7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/app/components/image/image.ts
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ import { FocusTrapModule } from 'primeng/focustrap';
(@animation.start)="onAnimationStart($event)"
(@animation.done)="onAnimationEnd($event)"
>
<img [attr.src]="previewImageSrc ? previewImageSrc : src" [attr.srcset]="previewImageSrcSet" [attr.sizes]="previewImageSrcSizes" class="p-image-preview" [ngStyle]="imagePreviewStyle()" (click)="onPreviewImageClick()" />
<img [attr.src]="previewImageSrc ? previewImageSrc : src" [attr.srcset]="previewImageSrcSet" [attr.sizes]="previewImageSizes" class="p-image-preview" [ngStyle]="imagePreviewStyle()" (click)="onPreviewImageClick()" />
</div>
</div>
</span>
Expand Down Expand Up @@ -128,7 +128,7 @@ export class Image implements AfterContentInit {
* The sizes definition for the preview image.
* @group Props
*/
@Input() previewImageSrcSizes: string | undefined;
@Input() previewImageSizes: string | undefined;
/**
* Attribute of the preview image element.
* @group Props
Expand Down

0 comments on commit 64122e7

Please sign in to comment.