mirror of
https://gitee.com/openharmony/interface_sdk-js
synced 2024-10-07 06:03:30 +00:00
getRectangleById 补充抛异常说明100001
Signed-off-by: huqingyun <huqingyun1@huawei.com> Change-Id: Ie4b49a8919b0d5c1afcf8a0ce44eb6e46653332f
This commit is contained in:
parent
bef1fdcc36
commit
cc2a5256bf
2
api/@ohos.arkui.UIContext.d.ts
vendored
2
api/@ohos.arkui.UIContext.d.ts
vendored
@ -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
|
||||
|
2
api/@ohos.arkui.componentUtils.d.ts
vendored
2
api/@ohos.arkui.componentUtils.d.ts
vendored
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user