提交 6a13a432 编写于 作者: L laosan_ted

fix docs check

Signed-off-by: Nlaosan_ted <wangruichang@huawei.com>
上级 e78f15e0
......@@ -170,7 +170,20 @@ struct WebComponent {
### 创建对象
```ts
controller: web_webview.WebviewController = new web_webview.WebviewController();
// xxx.ets
import web_webview from '@ohos.web.webview'
@Entry
@Component
struct WebComponent {
controller: web_webview.WebviewController = new web_webview.WebviewController();
build() {
Column() {
Web({ src: 'www.example.com', controller: this.controller })
}
}
}
```
### loadUrl
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册