From e49c4b9358b044aa7bfdbe1921d0f1a9822ae46d Mon Sep 17 00:00:00 2001 From: Thomas Steiner Date: Mon, 22 Apr 2024 15:56:56 +0200 Subject: [PATCH] Document new `allow` config option for iframe card (#32321) --- source/_dashboards/iframe.markdown | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/source/_dashboards/iframe.markdown b/source/_dashboards/iframe.markdown index d8a544e80b6..1f70c3f70c2 100644 --- a/source/_dashboards/iframe.markdown +++ b/source/_dashboards/iframe.markdown @@ -47,6 +47,11 @@ title: required: false description: The card title. type: string +allow: + required: false + description: The [Permissions Policy](https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Permissions-Policy#iframes) of the iframe, that is, the value of the [`allow`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/iframe#allow) attribute. + type: string + default: "fullscreen" {% endconfiguration %} ### Examples @@ -59,4 +64,4 @@ aspect_ratio: 75% ## Related topics -- [Dashboard cards](/dashboards/cards/) \ No newline at end of file +- [Dashboard cards](/dashboards/cards/)