diff --git a/api/@internal/component/ets/web.d.ts b/api/@internal/component/ets/web.d.ts index 10481cf8910ff463d7b2fa4473d3223933963131..fd21cfe94a8a3f6746429c2ed5f9113bfbf771cd 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,16 @@ declare class WebAttribute extends CommonMethod { * @since 20 */ gestureFocusMode(mode: GestureFocusMode): WebAttribute; + + /** + * Sets whether enable auto fill or not. + * + * @param { boolean } value - Indicates the flag whether autofill is enabled.Default value is true.True: enable, false: disable. + * @returns { WebAttribute } + * @syscap SystemCapability.Web.Webview.Core + * @since 21 + */ + enableAutoFill(value: boolean): WebAttribute; } /**