From 5b11af733a323b49e1714b6df71548dd1557c79b Mon Sep 17 00:00:00 2001 From: qiang Date: Wed, 10 Jun 2020 11:33:04 +0800 Subject: [PATCH] =?UTF-8?q?docs:=20=E6=9B=B4=E6=96=B0=20web-view=20?= =?UTF-8?q?=E7=BB=84=E4=BB=B6=E6=96=87=E6=A1=A3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- docs/component/web-view.md | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/docs/component/web-view.md b/docs/component/web-view.md index 9534da58f..be74dd7f6 100644 --- a/docs/component/web-view.md +++ b/docs/component/web-view.md @@ -7,8 +7,10 @@ **属性说明** |属性名|类型|说明|平台差异说明| -|:-|:-|:-|:| +|:-|:-|:-|:-| |src|String|webview 指向网页的链接| | +|allow|String|用于为 [iframe](https://developer.mozilla.org/zh-CN/docs/Web/HTML/Element/iframe) 指定其[特征策略](https://developer.mozilla.org/zh-CN/docs/Web/HTTP/策略特征)|H5| +|sandbox|String|该属性对呈现在 [iframe](https://developer.mozilla.org/zh-CN/docs/Web/HTML/Element/iframe) 框架中的内容启用一些额外的限制条件。|H5| |webview-styles|Object|webview 的样式|App| |@message|EventHandler|网页向应用 `postMessage` 时,会在特定时机(后退、组件销毁、分享)触发并收到消息。|H5 暂不支持| -- GitLab