diff --git a/api/@internal/component/ets/web.d.ts b/api/@internal/component/ets/web.d.ts index 10481cf8910ff463d7b2fa4473d3223933963131..8293d9ea8cc6c880aa76a2bf06e43d62348b0d98 100644 --- a/api/@internal/component/ets/web.d.ts +++ b/api/@internal/component/ets/web.d.ts @@ -5767,7 +5767,7 @@ declare interface OnTitleReceiveEvent { /** * Mark the source of the title. If it is true, the title is derived from the H5 title element; * If it is false, it is calculated from the URL. By default, it is calculated from the URL. - * + * * @type { ?boolean } * @syscap SystemCapability.Web.Webview.Core * @since 20 @@ -7239,7 +7239,7 @@ declare enum AudioSessionType { /** * PDF page load result - * + * * @enum { number } * @syscap SystemCapability.Web.Webview.Core * @since 20 @@ -10483,6 +10483,17 @@ declare class WebAttribute extends CommonMethod { * @since 20 */ gestureFocusMode(mode: GestureFocusMode): WebAttribute; + + /** + * Sets whether the Web supports zooming using Ctrl++, Ctrl+-,or Ctrl+mouse wheel. + * + * @param { boolean } zoomControlAccess - {@code true} means the Web supports zooming using Ctrl++, Ctrl+-,or Ctrl+mouse wheel; {@code false} otherwise. + * The default value is true. + * @returns { WebAttribute } + * @syscap SystemCapability.Web.Webview.Core + * @since 22 + */ + zoomControlAccess(zoomControlAccess: boolean): WebAttribute; } /**