From cc2a5256bf49703bed1ba0c4a0918fa193a6c4fd Mon Sep 17 00:00:00 2001 From: huqingyun Date: Mon, 19 Aug 2024 06:20:00 +0000 Subject: [PATCH] =?UTF-8?q?getRectangleById=20=E8=A1=A5=E5=85=85=E6=8A=9B?= =?UTF-8?q?=E5=BC=82=E5=B8=B8=E8=AF=B4=E6=98=8E100001?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: huqingyun Change-Id: Ie4b49a8919b0d5c1afcf8a0ce44eb6e46653332f --- api/@ohos.arkui.UIContext.d.ts | 2 ++ api/@ohos.arkui.componentUtils.d.ts | 2 ++ 2 files changed, 4 insertions(+) diff --git a/api/@ohos.arkui.UIContext.d.ts b/api/@ohos.arkui.UIContext.d.ts index 8ccb076e1..5c8b185a3 100644 --- a/api/@ohos.arkui.UIContext.d.ts +++ b/api/@ohos.arkui.UIContext.d.ts @@ -1813,6 +1813,7 @@ export class ComponentUtils { * * @param { string } id - ID of the component whose attributes are to be obtained. * @returns { componentUtils.ComponentInfo } the object of ComponentInfo. + * @throws { BusinessError } 100001 - UI execution context not found. * @syscap SystemCapability.ArkUI.ArkUI.Full * @since 10 */ @@ -1821,6 +1822,7 @@ export class ComponentUtils { * * @param { string } id - ID of the component whose attributes are to be obtained. * @returns { componentUtils.ComponentInfo } the object of ComponentInfo. + * @throws { BusinessError } 100001 - UI execution context not found. * @syscap SystemCapability.ArkUI.ArkUI.Full * @atomicservice * @since 11 diff --git a/api/@ohos.arkui.componentUtils.d.ts b/api/@ohos.arkui.componentUtils.d.ts index 525ff92bc..6fae80707 100644 --- a/api/@ohos.arkui.componentUtils.d.ts +++ b/api/@ohos.arkui.componentUtils.d.ts @@ -827,6 +827,7 @@ declare namespace componentUtils { * Provide the ability to obtain the coordinates and size of component drawing areas. * @param {string} id - component id. * @returns {ComponentInfo} the object of ComponentInfo. + * @throws { BusinessError } 100001 - UI execution context not found. * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @since 10 @@ -835,6 +836,7 @@ declare namespace componentUtils { * Provide the ability to obtain the coordinates and size of component drawing areas. * @param {string} id - component id. * @returns {ComponentInfo} the object of ComponentInfo. + * @throws { BusinessError } 100001 - UI execution context not found. * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice