Skip to content

Commit

Permalink
docs: 更新 web-view 组件文档
Browse files Browse the repository at this point in the history
  • Loading branch information
zhetengbiji committed Jun 10, 2020
1 parent cb7bd3b commit 5b11af7
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion docs/component/web-view.md
Original file line number Diff line number Diff line change
Expand Up @@ -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 暂不支持|

Expand Down

0 comments on commit 5b11af7

Please sign in to comment.