diff --git a/api/@internal/component/ets/web.d.ts b/api/@internal/component/ets/web.d.ts index c35f107e5e8eb5c689d99fead1e2a6481e3d3636..98987a12772ac835aa21080ca6a2008974583d26 100644 --- a/api/@internal/component/ets/web.d.ts +++ b/api/@internal/component/ets/web.d.ts @@ -7295,8 +7295,10 @@ declare enum PdfLoadResult { declare interface PreviewMenuOptions { /** * Defines the haptic feedback mode of preview menu. + * To enable haptic feedback, you must declare the ohos.permission.VIBRATE permission. * * @type { ?HapticFeedbackMode } + * @default HapticFeedbackMode.DISABLED * @syscap SystemCapability.Web.Webview.Core * @since 20 */ @@ -10354,7 +10356,7 @@ declare class WebAttribute extends CommonMethod { * The number of menu items, as well as the content size and icon size of the menu, * should be consistent with the ArkUI Menu component. * The system-provided id enumeration values (TextMenuItemId) in the menu are only - * supportedfor CUT, COPY, PASTE, and SELECT_ALL in the web. + * supported for CUT, COPY, PASTE, SELECT_ALL, TRANSLATE, SEARCH and some AI menu in the web. * The textRange parameter in the onMenuItemClick function is meaningless in the web, * and the input value is -1. * @returns { WebAttribute }