diff --git a/api/@ohos.web.webview.d.ts b/api/@ohos.web.webview.d.ts index 7c4a75c77c32f8e237f0864b1e7c5ccedd901900..72f27a170ccf39c2c3c18e2e6a86d46b05041ddb 100644 --- a/api/@ohos.web.webview.d.ts +++ b/api/@ohos.web.webview.d.ts @@ -26,7 +26,9 @@ import { Callback } from './@ohos.base'; import type cert from './@ohos.security.cert'; import type image from './@ohos.multimedia.image'; import type print from './@ohos.print'; - +/*** if arkts 1.2 */ +import { SizeOptions } from './arkui/component/units'; +/*** endif */ import { WebNetErrorList } from './@ohos.web.netErrorList'; /** @@ -3152,7 +3154,8 @@ declare namespace webview { * @type { ?SizeOptions } * @syscap SystemCapability.Web.Webview.Core * @atomicservice - * @since 12 + * @since arkts {'1.1':'12', '1.2':'20'} + * @arkts 1.1&1.2 */ size?: SizeOptions; } @@ -3195,7 +3198,8 @@ declare namespace webview { * @type { ?SizeOptions } * @syscap SystemCapability.Web.Webview.Core * @atomicservice - * @since 12 + * @since arkts {'1.1':'12', '1.2':'20'} + * @arkts 1.1&1.2 */ size?: SizeOptions;