MOBILE-4470 iframe: Fix regression with default values

This commit is contained in:
Dani Palou 2024-05-17 12:58:18 +02:00
parent 87c76b3db4
commit fb7f63732c

View File

@ -48,8 +48,8 @@ export class CoreIframeComponent implements OnChanges, OnDestroy {
@Input() src?: string;
@Input() id: string | null = null;
@Input() iframeWidth?: string;
@Input() iframeHeight?: string;
@Input() iframeWidth = '100%';
@Input() iframeHeight = '100%';
@Input() allowFullscreen?: boolean | string;
@Input() showFullscreenOnToolbar?: boolean | string;
@Input() autoFullscreenOnRotate?: boolean | string;