Web

A web view component for embedding HTML content or loading web pages.

组件展示

Web content

属性

属性名
类型
必需性
描述
id*
ComponentId
必需
暂无描述
accessibility
AccessibilityAttributes
可选
暂无描述
styles
Styles
可选
Component style properties
weight
number
可选
The relative weight of this component within a Row or Column. This is similar to the CSS 'flex-grow' property. Note: this may ONLY be set when the component is a direct descendant of a Row or Column.
component*
"Web"
必需
暂无描述
source*
string | DataBinding | object
必需
Represents a string

代码示例

{
  "component": "Web",
  "id": "web_1",
  "source": "示例source"
}