From ec71364917314d868c73b753c77a5bd80773168c Mon Sep 17 00:00:00 2001 From: zcdqs Date: Wed, 27 Jul 2022 19:01:13 +0800 Subject: [PATCH] update api version Signed-off-by: zcdqs Change-Id: I10e5f0162fe3ef4e3a4988fbed327e08a377ad71 --- .../arkui-ts/ts-universal-attributes-component-id.md | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/zh-cn/application-dev/reference/arkui-ts/ts-universal-attributes-component-id.md b/zh-cn/application-dev/reference/arkui-ts/ts-universal-attributes-component-id.md index b372ccc183..5c09e56615 100644 --- a/zh-cn/application-dev/reference/arkui-ts/ts-universal-attributes-component-id.md +++ b/zh-cn/application-dev/reference/arkui-ts/ts-universal-attributes-component-id.md @@ -21,7 +21,7 @@ id为组件的唯一标识,在整个应用内唯一。本模块提供组件标 ## 接口 -### getInspectorByKey +### getInspectorByKey9+ getInspectorByKey(id: string): string @@ -37,7 +37,7 @@ getInspectorByKey(id: string): string | -------- | -------- | | string | 组件属性列表的JSON字符串。 | -### getInspectorTree +### getInspectorTree9+ getInspectorTree(): string @@ -49,7 +49,7 @@ getInspectorTree(): string | ------ | ---------------------------------- | | string | 组件树及组件属性列表的JSON字符串。 | -### sendEventByKey +### sendEventByKey9+ sendEventByKey(id: string, action: number, params: string): boolean @@ -67,7 +67,7 @@ sendEventByKey(id: string, action: number, params: string): boolean | -------- | -------- | | boolean | 找不到指定id的组件时返回false,其余情况返回true。 | -### sendTouchEvent +### sendTouchEvent9+ sendTouchEvent(event: TouchObject): boolean @@ -85,7 +85,7 @@ sendTouchEvent(event: TouchObject): boolean | ------- | ------------------------------------------- | | boolean | 事件发送失败时返回false,其余情况返回true。 | -### sendKeyEvent +### sendKeyEvent9+ sendKeyEvent(event: KeyEvent): boolean @@ -103,7 +103,7 @@ sendKeyEvent(event: KeyEvent): boolean | ------- | --------------------------------------------- | | boolean | 事件发送失败时时返回false,其余情况返回true。 | -### sendMouseEvent +### sendMouseEvent9+ sendMouseEvent(event: MouseEvent): boolean -- GitLab