diff --git a/api/@internal/component/ets/web.d.ts b/api/@internal/component/ets/web.d.ts index d39d726d7dbceb18f7f28f64ac2b4f7ecf5f082b..360a1a1d1c5ce9d5c437fcf3345bead134e9cbd9 100755 --- a/api/@internal/component/ets/web.d.ts +++ b/api/@internal/component/ets/web.d.ts @@ -74,7 +74,7 @@ declare enum HitTestType { * The edit text. * @since 8 */ - Edit, + EditText, /** * The email address. @@ -86,13 +86,13 @@ declare enum HitTestType { * The HTML::a tag with src=http. * @since 8 */ - Http, + HttpAnchor, /** * The HTML::a tag with src=http + HTML::img. * @since 8 */ - HttpImg, + HttpAnchorImg, /** * The HTML::img tag. @@ -469,7 +469,7 @@ declare class WebController { * Load the given URL * @since 8 */ - loadUrl(options: { url: string; headers?: Array<{ key: string; value: string }> }); + loadUrl(options: { url: string; headers?: Array
}); /** * refreshes the current URL. @@ -487,7 +487,7 @@ declare class WebController { * Registers the JavaScript object and method list. * @since 8 */ - registerJavaScriptProxy(options: { obj: object; name: string; methodList: Array }); + registerJavaScriptProxy(options: { object: object; name: string; methodList: Array }); /** * Deletes a registered JavaScript object with given name. @@ -625,7 +625,7 @@ declare class WebAttribute extends CommonMethod { * @since 8 */ javaScriptProxy(javaScriptProxy: { - obj: object; + object: object; name: string; methodList: Array; controller: WebController;