From c50892cf7527c0dec69013d7b8fe61fa1b88a663 Mon Sep 17 00:00:00 2001 From: echoorchid Date: Thu, 11 Aug 2022 16:38:31 +0800 Subject: [PATCH] review, update h5-->HTML5 Signed-off-by: echoorchid --- .../reference/arkui-ts/ts-basic-components-web.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/zh-cn/application-dev/reference/arkui-ts/ts-basic-components-web.md b/zh-cn/application-dev/reference/arkui-ts/ts-basic-components-web.md index 1cf3775bb0..62e05b5e89 100644 --- a/zh-cn/application-dev/reference/arkui-ts/ts-basic-components-web.md +++ b/zh-cn/application-dev/reference/arkui-ts/ts-basic-components-web.md @@ -2584,7 +2584,7 @@ createWebMessagePorts(): Array\ postMessage(options: { message: WebMessageEvent, uri: string}): void -发送Web信息端口到Html5。 +发送Web信息端口到HTML5。 **参数:** | 参数名 | 参数类型 | 必填 | 默认值 | 参数描述 | @@ -3527,7 +3527,7 @@ postMessageEvent(message: WebMessageEvent): void ### onMessageEvent9+ onMessageEvent(callback: (result: string) => void): void -注册回调函数,接收html5侧发送过来的消息。 +注册回调函数,接收HTML5侧发送过来的消息。 **参数:** | 参数名 | 参数类型 | 必填 | 默认值 | 参数描述 | @@ -3597,7 +3597,7 @@ setData(data: string): void Button('setData') .onClick(() => { var msg = new WebMessageEvent(); - msg.setData("post message from ets to html5"); + msg.setData("post message from ets to HTML5"); this.port[0].postMessageEvent(msg); }) Web({ src: 'www.example.com', controller: this.controller }) -- GitLab