未验证 提交 78259204 编写于 作者: 王江颖 提交者: Gitee

update zh-cn/application-dev/reference/apis/js-apis-inputmethod.md.

Signed-off-by: N@bmeangel <wangjiangying@huawei.com>
上级 b542edc9
...@@ -39,7 +39,7 @@ import inputMethod from '@ohos.inputmethod'; ...@@ -39,7 +39,7 @@ import inputMethod from '@ohos.inputmethod';
getInputMethodController(): InputMethodController getInputMethodController(): InputMethodController
获取客户端实例[InputMethodController](#InputMethodController) 获取客户端实例[InputMethodController](#inputmethodcontroller)
**系统能力**:SystemCapability.MiscServices.InputMethodFramework **系统能力**:SystemCapability.MiscServices.InputMethodFramework
...@@ -47,7 +47,7 @@ getInputMethodController(): InputMethodController ...@@ -47,7 +47,7 @@ getInputMethodController(): InputMethodController
| 类型 | 说明 | | 类型 | 说明 |
| -------- | -------- | | -------- | -------- |
| [InputMethodController](#InputMethodController) | 回调返回当前客户端实例。 | | [InputMethodController](#inputmethodcontroller) | 回调返回当前客户端实例。 |
**示例:** **示例:**
...@@ -59,7 +59,7 @@ getInputMethodController(): InputMethodController ...@@ -59,7 +59,7 @@ getInputMethodController(): InputMethodController
getInputMethodSetting(): InputMethodSetting getInputMethodSetting(): InputMethodSetting
获取客户端设置实例[InputMethodSetting](#InputMethodSetting) 获取客户端设置实例[InputMethodSetting](#inputmethodsetting8)
**系统能力**: SystemCapability.MiscServices.InputMethodFramework **系统能力**: SystemCapability.MiscServices.InputMethodFramework
...@@ -67,7 +67,7 @@ getInputMethodSetting(): InputMethodSetting ...@@ -67,7 +67,7 @@ getInputMethodSetting(): InputMethodSetting
| 类型 | 说明 | | 类型 | 说明 |
| ----------------------------------------- | ---------------------------- | | ----------------------------------------- | ---------------------------- |
| [InputMethodSetting](#InputMethodSetting) | 回调返回当前客户端设置实例。 | | [InputMethodSetting](#inputmethodsetting8) | 回调返回当前客户端设置实例。 |
**示例:** **示例:**
...@@ -127,7 +127,7 @@ switchInputMethod(target: InputmethodProperty): Promise&lt;boolean&gt; ...@@ -127,7 +127,7 @@ switchInputMethod(target: InputmethodProperty): Promise&lt;boolean&gt;
``` ```
## InputMethodController ## InputMethodController
下列API示例中都需使用[getInputMethodController](#getinputmethodcontroller)回调获取到InputMethodController实例,再通过此实例调用对应方法。 下列API示例中都需使用[getInputMethodController](#inputmethodgetinputmethodcontroller)回调获取到InputMethodController实例,再通过此实例调用对应方法。
### stopInput ### stopInput
...@@ -175,7 +175,7 @@ stopInput(): Promise&lt;boolean&gt; ...@@ -175,7 +175,7 @@ stopInput(): Promise&lt;boolean&gt;
## InputMethodSetting<sup>8+</sup> ## InputMethodSetting<sup>8+</sup>
下列API示例中都需使用[getInputMethodSetting](#getinputmethodsetting)回调获取到InputMethodSetting实例,再通过此实例调用对应方法。 下列API示例中都需使用[getInputMethodSetting](#inputmethodgetinputmethodsetting8)回调获取到InputMethodSetting实例,再通过此实例调用对应方法。
### listInputMethod ### listInputMethod
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册