feat: set defaults to 300x300 thumbnails

This commit is contained in:
Jacob Overgaard
2024-07-10 11:01:11 +02:00
parent 13f0da0a1c
commit c7ef0d2f45

View File

@@ -16,16 +16,18 @@ export class UmbImagingThumbnailElement extends UmbLitElement {
unique = '';
/**
* The width of the thumbnail.
* The width of the thumbnail in pixels.
* @default 300
*/
@property({ type: Number })
width = 400;
width = 300;
/**
* The height of the thumbnail.
* The height of the thumbnail in pixels.
* @default 300
*/
@property({ type: Number })
height = 400;
height = 300;
/**
* The mode of the thumbnail.