add webName for webview controller, used by ndk

Signed-off-by: echoorchid <huweidong2@huawei.com>
This commit is contained in:
echoorchid 2023-12-05 11:15:09 +08:00
parent b040187a97
commit db16a4e514

View File

@ -2183,6 +2183,16 @@ declare namespace webview {
* @since 11
*/
class WebviewController {
/**
* A constructor used to create a WebviewController object.
*
* @param { string } [webTag] - specified the name of the web component, Empty by default.
* @syscap SystemCapability.Web.Webview.Core
* @atomicservice
* @since 11
*/
constructor(webTag?: string);
/**
* Initialize the web engine before loading the Web components.
* This is a global static API that must be called on the UI thread, and it will have no effect if any