diff --git a/api/@internal/component/ets/web.d.ts b/api/@internal/component/ets/web.d.ts index 41529e68d5c6182925c13d7df2ebfb88ecd9885c..d51879cbbd4e20b6405b91d436d1bd7aac2b5a14 100755 --- a/api/@internal/component/ets/web.d.ts +++ b/api/@internal/component/ets/web.d.ts @@ -306,6 +306,14 @@ declare class WebController { */ onActive(): void; + /** + * Let the Web zoom by. + * @param factor The zoom factor. + * + * @since 8 + */ + zoom(factor: number): void; + /** * Clear the history in the Web. * @since 8 @@ -526,6 +534,14 @@ declare class WebAttribute extends CommonMethod { */ databaseAccess(databaseAccess: boolean): WebAttribute; + /** + * Sets the Web's user agent. + * @param userAgent The Web's user agent. + * + * @since 8 + */ + userAgent(userAgent: string): WebAttribute; + /** * Triggered at the end of web page loading * @since 8