提交 40409088 编写于 作者: H Hollokin

update

Signed-off-by: NHollokin <taoyuxin2@huawei.com>
上级 1b674e9c
...@@ -1260,7 +1260,7 @@ on(type: 'show' | 'hide', callback: () => void): void ...@@ -1260,7 +1260,7 @@ on(type: 'show' | 'hide', callback: () => void): void
| 参数名 | 类型 | 必填 | 说明 | | 参数名 | 类型 | 必填 | 说明 |
| -------- | ---------------------- | ---- | -------- | | -------- | ---------------------- | ---- | -------- |
| type | 'show'/'hide' | 是 | 监听当前面板的状态类型,show表示显示状态,hide表示隐藏状态 | | type | 'show'\|'hide' | 是 | 监听当前面板的状态类型,show表示显示状态,hide表示隐藏状态 |
| callback | () => void | 是 | 回调函数。 | | callback | () => void | 是 | 回调函数。 |
**示例:** **示例:**
...@@ -2249,7 +2249,7 @@ try { ...@@ -2249,7 +2249,7 @@ try {
### selectByMovement<sup>10+</sup> ### selectByMovement<sup>10+</sup>
selectByMovement(range: Range): Promise&lt;void&gt; selectByMovement(movement: Movement): Promise&lt;void&gt;
根据索引范围选中文本。使用promise异步回调。 根据索引范围选中文本。使用promise异步回调。
...@@ -2405,6 +2405,8 @@ inputClient.getTextIndexAtCursor().then((index) => { ...@@ -2405,6 +2405,8 @@ inputClient.getTextIndexAtCursor().then((index) => {
## PanelInfo<sup>10</sup> ## PanelInfo<sup>10</sup>
**系统能力:** SystemCapability.MiscServices.InputMethodFramework
输入法面板属性。 输入法面板属性。
| 名称 | 类型 | 可读 | 可写 | 说明 | | 名称 | 类型 | 可读 | 可写 | 说明 |
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册