提交 ec713649 编写于 作者: Z zcdqs

update api version

Signed-off-by: Nzcdqs <junfeng.lijunfeng@huawei.com>
Change-Id: I10e5f0162fe3ef4e3a4988fbed327e08a377ad71
上级 15844388
...@@ -21,7 +21,7 @@ id为组件的唯一标识,在整个应用内唯一。本模块提供组件标 ...@@ -21,7 +21,7 @@ id为组件的唯一标识,在整个应用内唯一。本模块提供组件标
## 接口 ## 接口
### getInspectorByKey ### getInspectorByKey<sup>9+</sup>
getInspectorByKey(id: string): string getInspectorByKey(id: string): string
...@@ -37,7 +37,7 @@ getInspectorByKey(id: string): string ...@@ -37,7 +37,7 @@ getInspectorByKey(id: string): string
| -------- | -------- | | -------- | -------- |
| string | 组件属性列表的JSON字符串。 | | string | 组件属性列表的JSON字符串。 |
### getInspectorTree ### getInspectorTree<sup>9+</sup>
getInspectorTree(): string getInspectorTree(): string
...@@ -49,7 +49,7 @@ getInspectorTree(): string ...@@ -49,7 +49,7 @@ getInspectorTree(): string
| ------ | ---------------------------------- | | ------ | ---------------------------------- |
| string | 组件树及组件属性列表的JSON字符串。 | | string | 组件树及组件属性列表的JSON字符串。 |
### sendEventByKey ### sendEventByKey<sup>9+</sup>
sendEventByKey(id: string, action: number, params: string): boolean sendEventByKey(id: string, action: number, params: string): boolean
...@@ -67,7 +67,7 @@ sendEventByKey(id: string, action: number, params: string): boolean ...@@ -67,7 +67,7 @@ sendEventByKey(id: string, action: number, params: string): boolean
| -------- | -------- | | -------- | -------- |
| boolean | 找不到指定id的组件时返回false,其余情况返回true。 | | boolean | 找不到指定id的组件时返回false,其余情况返回true。 |
### sendTouchEvent ### sendTouchEvent<sup>9+</sup>
sendTouchEvent(event: TouchObject): boolean sendTouchEvent(event: TouchObject): boolean
...@@ -85,7 +85,7 @@ sendTouchEvent(event: TouchObject): boolean ...@@ -85,7 +85,7 @@ sendTouchEvent(event: TouchObject): boolean
| ------- | ------------------------------------------- | | ------- | ------------------------------------------- |
| boolean | 事件发送失败时返回false,其余情况返回true。 | | boolean | 事件发送失败时返回false,其余情况返回true。 |
### sendKeyEvent ### sendKeyEvent<sup>9+</sup>
sendKeyEvent(event: KeyEvent): boolean sendKeyEvent(event: KeyEvent): boolean
...@@ -103,7 +103,7 @@ sendKeyEvent(event: KeyEvent): boolean ...@@ -103,7 +103,7 @@ sendKeyEvent(event: KeyEvent): boolean
| ------- | --------------------------------------------- | | ------- | --------------------------------------------- |
| boolean | 事件发送失败时时返回false,其余情况返回true。 | | boolean | 事件发送失败时时返回false,其余情况返回true。 |
### sendMouseEvent ### sendMouseEvent<sup>9+</sup>
sendMouseEvent(event: MouseEvent): boolean sendMouseEvent(event: MouseEvent): boolean
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册