diff --git a/api/@internal/component/ets/web.d.ts b/api/@internal/component/ets/web.d.ts index bfb3e08770679948b52f74dcd77dce651738272f..1f206e3439981fb057a8e9038bb034b1e9ab9f3f 100755 --- a/api/@internal/component/ets/web.d.ts +++ b/api/@internal/component/ets/web.d.ts @@ -308,6 +308,30 @@ declare class FileSelectorResult { handleFileList(fileList: Array): void; } +/** + * Defines the hit test value, related to {@link getHitTestValue} method. + * @since 9 + */ +declare class HitTestValue { + /** + * Constructor. + * @since 9 + */ + constructor(); + + /** + * get the hit test type. + * @since 9 + */ + getType(): HitTestType; + + /** + * get the hit test extra data. + * @since 9 + */ + getExtra(): string; +} + /** * Encompassed message information as parameters to {@link onConsole} method. * @since 8 @@ -774,12 +798,24 @@ declare class WebCookie { */ getHitTest(): HitTestType; + /** + * Gets the hit test value of HitTest. + * @since 9 + */ + getHitTestValue(): HitTestValue; + /** * Gets the id for the current Web. * @since 9 */ getWebId(): number; + /** + * Gets the default user agent. + * @since 9 + */ + getDefaultUserAgent(): string; + /** * Gets the title of current Web page. * @since 9