文件最后提交记录最后更新时间
工具扫描0611 0512 Signed-off-by: liujixin <liujixin1@huawei.com> 11 个月前
5.1.0:[ArkWeb模块]在结构体文件中,添加“所在头文件”字段 Signed-off-by: 刘晶lwx1400251 <liujing367@h-partners.com>1 年前
内容修改补充 Signed-off-by: lianyuanqi <lianyuanqi@h-partners.com> 9 个月前
registerAsyncJavaScriptProxyEx接口起始版本应该是18,资料中显示14 Signed-off-by: diao-gaoyang <diaogaoyang@huawei.com> 10 个月前
docs updata 5.1.0 Signed-off-by: liujixin <liujixin1@huawei.com> 1 年前
5.1.0:[ArkWeb模块]在结构体文件中,添加“所在头文件”字段 Signed-off-by: 刘晶lwx1400251 <liujing367@h-partners.com>1 年前
5.1.0:[ArkWeb模块]在结构体文件中,添加“所在头文件”字段 Signed-off-by: 刘晶lwx1400251 <liujing367@h-partners.com>1 年前
vod 0711 0512 Signed-off-by: liujixin <liujixin1@huawei.com> 10 个月前
5.1.0:[ArkWeb模块]在结构体文件中,添加“所在头文件”字段 Signed-off-by: 刘晶lwx1400251 <liujing367@h-partners.com>1 年前
vod 0711 0512 Signed-off-by: liujixin <liujixin1@huawei.com> 10 个月前
5.1.0:[ArkWeb模块]在结构体文件中,添加“所在头文件”字段 Signed-off-by: 刘晶lwx1400251 <liujing367@h-partners.com>1 年前
vod 0711 0512 Signed-off-by: liujixin <liujixin1@huawei.com> 10 个月前
dts+vod docs updata 0512 Signed-off-by: liujixin <liujixin1@huawei.com> 1 年前
dts+vod docs updata 0512 Signed-off-by: liujixin <liujixin1@huawei.com> 1 年前
update zh-cn/application-dev/reference/apis-arkweb/_web.md. Signed-off-by: xiaye <xiaye1@h-partners.com>11 个月前
update docs Signed-off-by: LiAn <lian15@huawei.com>1 年前
update zh-cn/application-dev/reference/apis-arkweb/arkweb__interface_8h.md. Signed-off-by: LiAn <lian15@huawei.com> Signed-off-by: LiAn <lian15@huawei.com>1 年前
update docs Signed-off-by: LiAn <lian15@huawei.com>1 年前
docs Maintenance Signed-off-by: ji_xinliu <liujixin1@huawei.com> 1 年前
docs updata 5.1.0 Signed-off-by: liujixin <liujixin1@huawei.com> 1 年前
Web Docs splitting 0512 Signed-off-by: liujixin <liujixin1@huawei.com> 11 个月前
update docs Signed-off-by: HelloCrease <lian15@huawei.com> 1 年前
vod 0711 0512 Signed-off-by: liujixin <liujixin1@huawei.com> 10 个月前
vod 0711 0512 Signed-off-by: liujixin <liujixin1@huawei.com> 10 个月前
补充参数默认值和设置undefined与null说明 Signed-off-by: lianyuanqi <lianyuanqi@h-partners.com> 9 个月前
vod 0711 0512 Signed-off-by: liujixin <liujixin1@huawei.com> 10 个月前
vod 0711 0512 Signed-off-by: liujixin <liujixin1@huawei.com> 10 个月前
vod 0711 0512 Signed-off-by: liujixin <liujixin1@huawei.com> 10 个月前
merge OpenHarmony-feature-20250512 into OpenHarmony-feature-20250512 修改说明 Created-by: z971254170 Commit-by: z971254170;m1n1ons Merged-by: openharmony_ci Description: 文档变更类型 请描述本次文档更新类型(原因),请在对应类型的括号内填写Y: 新增需求( ) 变更需求( ) VOD修复( ) 主动优化(Y ) API参考更新的关联PR 如涉及API参考的更新,应当同步提供interface仓d.ts文件的变更PR。 不涉及请反馈NA。 NA 文档更新内容自检 为确保文档合入质量,请遵循如下要求完成基础质量自检Checklist,并在自检项后的括号内填写Y: 文档中示例代码片段已经在IDE中自验证,确保编译通过,并在下方给出截图证明。( Y) API的定义与使用方式与配套版本的SDK严格一致,无文档与SDK不一致问题。( Y) 文档需完成AI辅助工具DocLinter扫描并完成问题修改,并在此附加在线扫描报告的链接。 http://121.36.32.255/workbench/ai/docLinter/viewReport?reportId=17943 ![image.png](https://raw.gitcode.com/user-images/assets/4372488/aec11172-15cd-4135-8f6c-791e49557867/image.png 'image.png') ![image.png](https://raw.gitcode.com/user-images/assets/4372488/8f6df095-73a0-44e9-b91d-14a06d46a0cd/image.png 'image.png') ![image.png](https://raw.gitcode.com/user-images/assets/4372488/65087af3-cf1e-4871-8bda-ef5d3bf37187/image.png 'image.png') See merge request: openharmony/docs!992829 个月前
update api Signed-off-by: caozhengfei <caozhengfei@huawei-partners.com> 9 个月前
update docs Signed-off-by: HelloCrease <lian15@huawei.com> 11 个月前
参数可选值修正0512 Signed-off-by: liujixin <liujixin1@huawei.com> 9 个月前
vod 0711 0512 Signed-off-by: liujixin <liujixin1@huawei.com> 10 个月前
Description:web文档整改 IssueNo:https://gitcode.com/openharmony/docs/issues/80934 Feature or Bugfix: Feature Binary Source:No Signed-off-by: zhangyao <zhangyao114@huawei.com> 9 个月前
add OH_NativeArkWeb_LoadData Signed-off-by: wu_zhende <wuzhende2@huawei.com> 1 年前
merge OpenHarmony-feature-20250512 into OpenHarmony-feature-20250512 Web menu 废弃接口整改 Created-by: ia_oi Commit-by: ia_oi Merged-by: openharmony_ci Description: # Docs仓MD文档PR信息 > **注意:** > 请务必按如下模板反馈PR所携带的修改信息。 > 请分析是否需要同步合入活跃的发布分支。当前活跃的分支除master外还包括: > (API 20 Release) OpenHarmony-6.0-Release > (API 20 Beta3) weekly_20250818 > (API 19) OpenHarmony-feature-20250512 ## 文档变更类型 请描述本次文档更新类型(原因),**请在对应类型的括号内填写Y**: - 新增需求( ) - 变更需求( ) - VOD修复(Y ) - 主动优化( ) ## API参考更新的关联PR 如涉及API参考的更新,应当同步提供interface仓d.ts文件的变更PR。 不涉及请反馈NA。 ## 文档更新内容自检 为确保文档合入质量,请遵循如下要求完成基础质量自检Checklist,**并在自检项后的括号内填写Y**: - 文档中示例代码片段已经在IDE中自验证,确保编译通过,并在下方给出截图证明。(Y ) - API的定义与使用方式与配套版本的SDK严格一致,无文档与SDK不一致问题。(Y ) - 文档需完成[AI辅助工具DocLinter扫描](https://gitcode.com/openharmony/docs/wiki/HarmonyPilot-DocLinter_AI辅助写作插件.md)并完成问题修改,并在此附加在线扫描报告的链接。 不涉及 ## 示例代码编译通过截图证明(如涉及示例代码需提供): > **说明:** > 1. 示例代码验证时,应尽可能**在有效设备上实际运行**。仅编译或IDE预览器运行均无法发现所有潜在问题。 > 2. 示例代码截图应提供**编译日志**和**运行日志**以证明示例代码无问题。**存在错误码但不阻塞编译的日志均视为示例代码有误**。 ```ts // xxx.ets import { webview } from '@kit.ArkWeb'; interface PreviewBuilderParam { previewImage: Resource | string | undefined; width: number; height: number; } @Builder function PreviewBuilderGlobal($$: PreviewBuilderParam) { Column() { Image($$.previewImage) .objectFit(ImageFit.Fill) .autoResize(true) }.width($$.width).height($$.height) } @Entry @Component struct WebComponent { controller: webview.WebviewController = new webview.WebviewController(); private result: WebContextMenuResult | undefined = undefined; @State previewImage: Resource | string | undefined = undefined; @State previewWidth: number = 0; @State previewHeight: number = 0; uiContext: UIContext = this.getUIContext(); @Builder MenuBuilder() { Menu() { MenuItem({ content: 'Copy', }) .onClick(() => { this.result?.copy(); this.result?.closeContextMenu(); }) MenuItem({ content: 'Select All', }) .onClick(() => { this.result?.selectAll(); this.result?.closeContextMenu(); }) } } build() { Column() { Web({ src: $rawfile("index.html"), controller: this.controller }) .bindSelectionMenu(WebElementType.IMAGE, this.MenuBuilder, WebResponseType.LONG_PRESS, { onAppear: () => {}, onDisappear: () => { this.result?.closeContextMenu(); }, preview: PreviewBuilderGlobal({ previewImage: this.previewImage, width: this.previewWidth, height: this.previewHeight }), menuType: MenuType.PREVIEW_MENU }) .onContextMenuShow((event) => { if (event) { this.result = event.result; if (event.param.getLinkUrl()) { return false; } this.previewWidth = this.uiContext!.px2vp(event.param.getPreviewWidth()); this.previewHeight = this.uiContext!.px2vp(event.param.getPreviewHeight()); if (event.param.getSourceUrl().indexOf("resource://rawfile/") == 0) { this.previewImage = $rawfile(event.param.getSourceUrl().substr(19)); } else { this.previewImage = event.param.getSourceUrl(); } return true; } return false; }) } } } ``` ```html <!--index.html--> <!DOCTYPE html> <html> <head> <title>Test Web Page</title> </head> <body> <h1>bindSelectionMenu Demo</h1> <img src="./img.png" > </body> </html> ``` ![image.png](https://raw.gitcode.com/user-images/assets/4372488/30cd0ec4-dba6-44f2-95d1-f15f2e05aa8b/image.png 'image.png') ```ts // xxx.ets import { webview } from '@kit.ArkWeb'; import { picker } from '@kit.CoreFileKit'; import { photoAccessHelper } from '@kit.MediaLibraryKit'; @Entry @Component struct WebComponent { controller: webview.WebviewController = new webview.WebviewController() async selectFile(result: FileSelectorResult): Promise<void> { let photoSelectOptions = new photoAccessHelper.PhotoSelectOptions(); let photoPicker = new photoAccessHelper.PhotoViewPicker(); // Set the MIME file type to IMAGE. photoSelectOptions.MIMEType = photoAccessHelper.PhotoViewMIMETypes.IMAGE_VIDEO_TYPE; // Set the maximum number of media files that can be selected. photoSelectOptions.maxSelectNumber = 5; let chooseFile: photoAccessHelper.PhotoSelectResult = await photoPicker.select(photoSelectOptions); // Obtain the list of selected files. result.handleFileList(chooseFile.photoUris); } build() { Column() { Web({ src: $rawfile('index.html'), controller: this.controller }) .onShowFileSelector((event) => { if (event) { this.selectFile(event.result); } return true; }) } } } ``` ![image.png](https://raw.gitcode.com/user-images/assets/4372488/41ea7477-5515-4e02-bc76-27b8ca6df650/image.png 'image.png') ```ts // xxx.ets import { webview } from '@kit.ArkWeb'; import { pasteboard } from '@kit.BasicServicesKit'; const TAG = 'ContextMenu'; @Entry @Component struct WebComponent { controller: webview.WebviewController = new webview.WebviewController(); private result: WebContextMenuResult | undefined = undefined; @State linkUrl: string = ''; @State offsetX: number = 0; @State offsetY: number = 0; @State showMenu: boolean = false; uiContext: UIContext = this.getUIContext(); @Builder // Build and trigger a custom menu. MenuBuilder() { // A component that is used to present a vertical list of items to the user. Menu() { // A component that is used to represent an item in a menu. MenuItem({ content: 'Copy Image', }) .width(100) .height(50) .onClick(() => { this.result?.copyImage(); this.showMenu = false; }) MenuItem({ content: 'Cut', }) .width(100) .height(50) .onClick(() => { this.result?.cut(); this.showMenu = false; }) MenuItem({ content: 'Copy', }) .width(100) .height(50) .onClick(() => { this.result?.copy(); this.showMenu = false; }) MenuItem({ content: 'Paste', }) .width(100) .height(50) .onClick(() => { this.result?.paste(); this.showMenu = false; }) MenuItem({ content: 'Copy Link', }) .width(100) .height(50) .onClick(() => { let pasteData = pasteboard.createData('text/plain', this.linkUrl); pasteboard.getSystemPasteboard().setData(pasteData, (error) => { if (error) { return; } }) this.showMenu = false; }) MenuItem({ content: 'Select All', }) .width(100) .height(50) .onClick(() => { this.result?.selectAll(); this.showMenu = false; }) } .width(150) .height(300) } build() { Column() { Web({ src: $rawfile("index.html"), controller: this.controller }) // Trigger a custom dialog box. .onContextMenuShow((event) => { if (event) { this.result = event.result console.info("x coord = " + event.param.x()); console.info("link url = " + event.param.getLinkUrl()); this.linkUrl = event.param.getLinkUrl(); } console.info(TAG, x: ${this.offsetX}, y: ${this.offsetY}); this.showMenu = true; this.offsetX = 0; this.offsetY = Math.max(this.uiContext!.px2vp(event?.param.y() ?? 0) - 0, 0); return true; }) .bindPopup(this.showMenu, { builder: this.MenuBuilder(), enableArrow: false, placement: Placement.LeftTop, offset: { x: this.offsetX, y: this.offsetY }, mask: false, onStateChange: (e) => { if (!e.isVisible) { this.showMenu = false; this.result!.closeContextMenu(); } } }) } } } ``` ![image.png](https://raw.gitcode.com/user-images/assets/4372488/d9e0d23a-3b90-4144-be14-d568d584bc7f/image.png 'image.png') ```ts import { AlertDialog, router } from '@kit.ArkUI'; import { webview } from '@kit.ArkWeb'; @Entry @Component struct AlertDialogPage { @State message: string = 'Hello World'; @State title: string = 'Hello World'; @State subtitle: string = ''; @State result: JsResult | null = null; webviewController: webview.WebviewController = new webview.WebviewController(); dialogControllerAlert: CustomDialogController = new CustomDialogController({ builder: AlertDialog({ primaryTitle: this.title, secondaryTitle: this.subtitle, content: this.message, primaryButton: { value: 'OK', role: ButtonRole.ERROR, action: () => { console.info('Callback when the second button is clicked'); this.result?.handleConfirm(); } }, }), onWillDismiss: ()=>{ this.result?.handleCancel(); this.dialogControllerAlert.close(); } }) build() { Column() { Button('back').onClick((event: ClickEvent) => { this.getUIContext().getRouter().back(); }) Web({ src: $rawfile('index.html'), controller: this.webviewController }) .onAlert((event) => { if (event) { console.log("event.url:" + event.url); console.log("event.message:" + event.message); this.title = "Alert from " + event.url + ""; this.message = event.message; this.result = event.result; this.dialogControllerAlert.open(); } return true; }) } } } ``` ![image.png](https://raw.gitcode.com/user-images/assets/4372488/a7c20b21-7377-4d67-91a8-171b30f36dcd/image.png 'image.png') See merge request: openharmony/docs!1043208 个月前
Description:web文档整改 IssueNo:https://gitcode.com/openharmony/docs/issues/80934 Feature or Bugfix: Feature Binary Source:No Signed-off-by: zhangyao <zhangyao114@huawei.com> 9 个月前
merge OpenHarmony-feature-20250512 into OpenHarmony-feature-20250512 Web menu 废弃接口整改 Created-by: ia_oi Commit-by: ia_oi Merged-by: openharmony_ci Description: # Docs仓MD文档PR信息 > **注意:** > 请务必按如下模板反馈PR所携带的修改信息。 > 请分析是否需要同步合入活跃的发布分支。当前活跃的分支除master外还包括: > (API 20 Release) OpenHarmony-6.0-Release > (API 20 Beta3) weekly_20250818 > (API 19) OpenHarmony-feature-20250512 ## 文档变更类型 请描述本次文档更新类型(原因),**请在对应类型的括号内填写Y**: - 新增需求( ) - 变更需求( ) - VOD修复(Y ) - 主动优化( ) ## API参考更新的关联PR 如涉及API参考的更新,应当同步提供interface仓d.ts文件的变更PR。 不涉及请反馈NA。 ## 文档更新内容自检 为确保文档合入质量,请遵循如下要求完成基础质量自检Checklist,**并在自检项后的括号内填写Y**: - 文档中示例代码片段已经在IDE中自验证,确保编译通过,并在下方给出截图证明。(Y ) - API的定义与使用方式与配套版本的SDK严格一致,无文档与SDK不一致问题。(Y ) - 文档需完成[AI辅助工具DocLinter扫描](https://gitcode.com/openharmony/docs/wiki/HarmonyPilot-DocLinter_AI辅助写作插件.md)并完成问题修改,并在此附加在线扫描报告的链接。 不涉及 ## 示例代码编译通过截图证明(如涉及示例代码需提供): > **说明:** > 1. 示例代码验证时,应尽可能**在有效设备上实际运行**。仅编译或IDE预览器运行均无法发现所有潜在问题。 > 2. 示例代码截图应提供**编译日志**和**运行日志**以证明示例代码无问题。**存在错误码但不阻塞编译的日志均视为示例代码有误**。 ```ts // xxx.ets import { webview } from '@kit.ArkWeb'; interface PreviewBuilderParam { previewImage: Resource | string | undefined; width: number; height: number; } @Builder function PreviewBuilderGlobal($$: PreviewBuilderParam) { Column() { Image($$.previewImage) .objectFit(ImageFit.Fill) .autoResize(true) }.width($$.width).height($$.height) } @Entry @Component struct WebComponent { controller: webview.WebviewController = new webview.WebviewController(); private result: WebContextMenuResult | undefined = undefined; @State previewImage: Resource | string | undefined = undefined; @State previewWidth: number = 0; @State previewHeight: number = 0; uiContext: UIContext = this.getUIContext(); @Builder MenuBuilder() { Menu() { MenuItem({ content: 'Copy', }) .onClick(() => { this.result?.copy(); this.result?.closeContextMenu(); }) MenuItem({ content: 'Select All', }) .onClick(() => { this.result?.selectAll(); this.result?.closeContextMenu(); }) } } build() { Column() { Web({ src: $rawfile("index.html"), controller: this.controller }) .bindSelectionMenu(WebElementType.IMAGE, this.MenuBuilder, WebResponseType.LONG_PRESS, { onAppear: () => {}, onDisappear: () => { this.result?.closeContextMenu(); }, preview: PreviewBuilderGlobal({ previewImage: this.previewImage, width: this.previewWidth, height: this.previewHeight }), menuType: MenuType.PREVIEW_MENU }) .onContextMenuShow((event) => { if (event) { this.result = event.result; if (event.param.getLinkUrl()) { return false; } this.previewWidth = this.uiContext!.px2vp(event.param.getPreviewWidth()); this.previewHeight = this.uiContext!.px2vp(event.param.getPreviewHeight()); if (event.param.getSourceUrl().indexOf("resource://rawfile/") == 0) { this.previewImage = $rawfile(event.param.getSourceUrl().substr(19)); } else { this.previewImage = event.param.getSourceUrl(); } return true; } return false; }) } } } ``` ```html <!--index.html--> <!DOCTYPE html> <html> <head> <title>Test Web Page</title> </head> <body> <h1>bindSelectionMenu Demo</h1> <img src="./img.png" > </body> </html> ``` ![image.png](https://raw.gitcode.com/user-images/assets/4372488/30cd0ec4-dba6-44f2-95d1-f15f2e05aa8b/image.png 'image.png') ```ts // xxx.ets import { webview } from '@kit.ArkWeb'; import { picker } from '@kit.CoreFileKit'; import { photoAccessHelper } from '@kit.MediaLibraryKit'; @Entry @Component struct WebComponent { controller: webview.WebviewController = new webview.WebviewController() async selectFile(result: FileSelectorResult): Promise<void> { let photoSelectOptions = new photoAccessHelper.PhotoSelectOptions(); let photoPicker = new photoAccessHelper.PhotoViewPicker(); // Set the MIME file type to IMAGE. photoSelectOptions.MIMEType = photoAccessHelper.PhotoViewMIMETypes.IMAGE_VIDEO_TYPE; // Set the maximum number of media files that can be selected. photoSelectOptions.maxSelectNumber = 5; let chooseFile: photoAccessHelper.PhotoSelectResult = await photoPicker.select(photoSelectOptions); // Obtain the list of selected files. result.handleFileList(chooseFile.photoUris); } build() { Column() { Web({ src: $rawfile('index.html'), controller: this.controller }) .onShowFileSelector((event) => { if (event) { this.selectFile(event.result); } return true; }) } } } ``` ![image.png](https://raw.gitcode.com/user-images/assets/4372488/41ea7477-5515-4e02-bc76-27b8ca6df650/image.png 'image.png') ```ts // xxx.ets import { webview } from '@kit.ArkWeb'; import { pasteboard } from '@kit.BasicServicesKit'; const TAG = 'ContextMenu'; @Entry @Component struct WebComponent { controller: webview.WebviewController = new webview.WebviewController(); private result: WebContextMenuResult | undefined = undefined; @State linkUrl: string = ''; @State offsetX: number = 0; @State offsetY: number = 0; @State showMenu: boolean = false; uiContext: UIContext = this.getUIContext(); @Builder // Build and trigger a custom menu. MenuBuilder() { // A component that is used to present a vertical list of items to the user. Menu() { // A component that is used to represent an item in a menu. MenuItem({ content: 'Copy Image', }) .width(100) .height(50) .onClick(() => { this.result?.copyImage(); this.showMenu = false; }) MenuItem({ content: 'Cut', }) .width(100) .height(50) .onClick(() => { this.result?.cut(); this.showMenu = false; }) MenuItem({ content: 'Copy', }) .width(100) .height(50) .onClick(() => { this.result?.copy(); this.showMenu = false; }) MenuItem({ content: 'Paste', }) .width(100) .height(50) .onClick(() => { this.result?.paste(); this.showMenu = false; }) MenuItem({ content: 'Copy Link', }) .width(100) .height(50) .onClick(() => { let pasteData = pasteboard.createData('text/plain', this.linkUrl); pasteboard.getSystemPasteboard().setData(pasteData, (error) => { if (error) { return; } }) this.showMenu = false; }) MenuItem({ content: 'Select All', }) .width(100) .height(50) .onClick(() => { this.result?.selectAll(); this.showMenu = false; }) } .width(150) .height(300) } build() { Column() { Web({ src: $rawfile("index.html"), controller: this.controller }) // Trigger a custom dialog box. .onContextMenuShow((event) => { if (event) { this.result = event.result console.info("x coord = " + event.param.x()); console.info("link url = " + event.param.getLinkUrl()); this.linkUrl = event.param.getLinkUrl(); } console.info(TAG, x: ${this.offsetX}, y: ${this.offsetY}); this.showMenu = true; this.offsetX = 0; this.offsetY = Math.max(this.uiContext!.px2vp(event?.param.y() ?? 0) - 0, 0); return true; }) .bindPopup(this.showMenu, { builder: this.MenuBuilder(), enableArrow: false, placement: Placement.LeftTop, offset: { x: this.offsetX, y: this.offsetY }, mask: false, onStateChange: (e) => { if (!e.isVisible) { this.showMenu = false; this.result!.closeContextMenu(); } } }) } } } ``` ![image.png](https://raw.gitcode.com/user-images/assets/4372488/d9e0d23a-3b90-4144-be14-d568d584bc7f/image.png 'image.png') ```ts import { AlertDialog, router } from '@kit.ArkUI'; import { webview } from '@kit.ArkWeb'; @Entry @Component struct AlertDialogPage { @State message: string = 'Hello World'; @State title: string = 'Hello World'; @State subtitle: string = ''; @State result: JsResult | null = null; webviewController: webview.WebviewController = new webview.WebviewController(); dialogControllerAlert: CustomDialogController = new CustomDialogController({ builder: AlertDialog({ primaryTitle: this.title, secondaryTitle: this.subtitle, content: this.message, primaryButton: { value: 'OK', role: ButtonRole.ERROR, action: () => { console.info('Callback when the second button is clicked'); this.result?.handleConfirm(); } }, }), onWillDismiss: ()=>{ this.result?.handleCancel(); this.dialogControllerAlert.close(); } }) build() { Column() { Button('back').onClick((event: ClickEvent) => { this.getUIContext().getRouter().back(); }) Web({ src: $rawfile('index.html'), controller: this.webviewController }) .onAlert((event) => { if (event) { console.log("event.url:" + event.url); console.log("event.message:" + event.message); this.title = "Alert from " + event.url + ""; this.message = event.message; this.result = event.result; this.dialogControllerAlert.open(); } return true; }) } } } ``` ![image.png](https://raw.gitcode.com/user-images/assets/4372488/a7c20b21-7377-4d67-91a8-171b30f36dcd/image.png 'image.png') See merge request: openharmony/docs!1043208 个月前
webview docs add readonly Signed-off-by: pan-liujun <panliujun3@h-partners.com> 9 个月前
vod 0711 0512 Signed-off-by: liujixin <liujixin1@huawei.com> 10 个月前
Description:web文档整改 IssueNo:https://gitcode.com/openharmony/docs/issues/80934 Feature or Bugfix: Feature Binary Source:No Signed-off-by: zhangyao <zhangyao114@huawei.com> 9 个月前