From 96e8d3addc07c887568d91333cc4b844ce07147d Mon Sep 17 00:00:00 2001 From: Alfonso Salces Date: Fri, 18 Jul 2025 14:10:16 +0200 Subject: [PATCH] MOBILE-4802 core-iframe: Add allow attribute to iframe --- src/core/components/iframe/core-iframe.html | 4 ++-- src/core/components/iframe/iframe.ts | 2 ++ 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/src/core/components/iframe/core-iframe.html b/src/core/components/iframe/core-iframe.html index f111bc588ab..49bc6d195e8 100644 --- a/src/core/components/iframe/core-iframe.html +++ b/src/core/components/iframe/core-iframe.html @@ -18,11 +18,11 @@ @if (allowFullscreen) { } @else { } diff --git a/src/core/components/iframe/iframe.ts b/src/core/components/iframe/iframe.ts index e49e1407e46..c96e7a82339 100644 --- a/src/core/components/iframe/iframe.ts +++ b/src/core/components/iframe/iframe.ts @@ -23,6 +23,7 @@ import { SimpleChange, OnDestroy, inject, + input, } from '@angular/core'; import { SafeResourceUrl } from '@angular/platform-browser'; @@ -70,6 +71,7 @@ export class CoreIframeComponent implements OnChanges, OnDestroy { this.initIframeElement(); } + readonly allow = input(); @Input() src?: string; @Input() id: string | null = null; @Input() iframeWidth = '100%';