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

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

Signed-off-by: N@bmeangel <wangjiangying@huawei.com>
上级 f896a4cc
...@@ -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](#inputmethodsetting)
**系统能力**: SystemCapability.MiscServices.InputMethodFramework **系统能力**: SystemCapability.MiscServices.InputMethodFramework
...@@ -67,7 +67,7 @@ getInputMethodSetting(): InputMethodSetting ...@@ -67,7 +67,7 @@ getInputMethodSetting(): InputMethodSetting
| 类型 | 说明 | | 类型 | 说明 |
| ----------------------------------------- | ---------------------------- | | ----------------------------------------- | ---------------------------- |
| [InputMethodSetting](#InputMethodSetting) | 回调返回当前客户端设置实例。 | | [InputMethodSetting](#inputmethodsetting) | 回调返回当前客户端设置实例。 |
**示例:** **示例:**
...@@ -188,7 +188,7 @@ listInputMethod(callback: AsyncCallback&lt;Array&lt;InputMethodProperty&gt;&gt;) ...@@ -188,7 +188,7 @@ listInputMethod(callback: AsyncCallback&lt;Array&lt;InputMethodProperty&gt;&gt;)
**参数:** **参数:**
| 参数名 | 类型 | 必填 | 说明 | | 参数名 | 类型 | 必填 | 说明 |
| -------- | -------------------------------------------------- | ---- | ---------------------- | | -------- | -------------------------------------------------- | ---- | ---------------------- |
| callback | Array<[InputMethodProperty](#InputMethodProperty)> | 是 | 返回已安装输入法列表。 | | callback | Array<[InputMethodProperty](#inputmethodproperty8)> | 是 | 返回已安装输入法列表。 |
**示例:** **示例:**
...@@ -212,7 +212,7 @@ listInputMethod(): Array&lt;InputMethodProperty&gt; ...@@ -212,7 +212,7 @@ listInputMethod(): Array&lt;InputMethodProperty&gt;
**返回值:** **返回值:**
| 类型 | 说明 | | 类型 | 说明 |
| ----------------------------------------------------------- | ---------------------- | | ----------------------------------------------------------- | ---------------------- |
| Promise<Array<[InputMethodProperty](#InputMethodProperty)>> | 返回已安装输入法列表。 | | Promise<Array<[InputMethodProperty](#inputmethodproperty8)>> | 返回已安装输入法列表。 |
**示例:** **示例:**
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册