From 53eec0284bb29fe2813e825791b95f3ce1fcd8a8 Mon Sep 17 00:00:00 2001 From: lijiancheng21 Date: Mon, 1 Sep 2025 11:25:22 +0800 Subject: [PATCH] arkts add Signed-off-by: lijiancheng21 --- api/@internal/component/ets/web.d.ts | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/api/@internal/component/ets/web.d.ts b/api/@internal/component/ets/web.d.ts index 7f4241f710..3344e0f501 100644 --- a/api/@internal/component/ets/web.d.ts +++ b/api/@internal/component/ets/web.d.ts @@ -21,7 +21,7 @@ /*** if arkts 1.2 */ import webview from '../../@ohos.web.webview'; import image from '../../@ohos.multimedia.image'; -import { CommonMethod, Callback, TouchEvent, NestedScrollOptions, KeyEvent } from './common'; +import { CommonMethod, Callback, TouchEvent, NestedScrollOptions, KeyEvent, HapticFeedbackMode} from './common'; import { CustomBuilder } from './builder' import { Resource } from '../../global/resource'; import { Position, ResourceStr } from './units'; @@ -7455,6 +7455,7 @@ declare enum WebElementType { * * @syscap SystemCapability.Web.Webview.Core * @since 20 + * @arkts 1.1&1.2 */ LINK = 2 } @@ -7529,6 +7530,7 @@ declare enum AudioSessionType { * @interface PreviewMenuOptions * @syscap SystemCapability.Web.Webview.Core * @since 20 + * @arkts 1.1&1.2 */ declare interface PreviewMenuOptions { /** @@ -7537,6 +7539,7 @@ declare interface PreviewMenuOptions { * @type { ?HapticFeedbackMode } * @syscap SystemCapability.Web.Webview.Core * @since 20 + * @arkts 1.1&1.2 */ hapticFeedbackMode?: HapticFeedbackMode; } @@ -7596,6 +7599,7 @@ declare interface SelectionMenuOptionsExt { * @type { ?PreviewMenuOptions } * @syscap SystemCapability.Web.Webview.Core * @since 20 + * @arkts 1.1&1.2 */ previewMenuOptions?: PreviewMenuOptions; } -- Gitee