WIP implementing Iframe widget:

- Add fullscreen option
This commit is contained in:
Hadi Nategh 2021-10-13 11:11:52 +02:00
parent be57764fa6
commit 76a1f3c584

View File

@ -50,7 +50,7 @@ export class Et2Iframe extends Et2Widget(SlotMixin(LitElement))
} }
render() { render() {
return html` <iframe ${this.id ? html`id="${this.id}"` : ''}></iframe>`; return html` <iframe ${this.id ? html`id="${this.id}"` : ''} allowfullscreen="${this.fullscreen}"></iframe>`;
} }
__getIframeNode() __getIframeNode()