未验证 提交 3e645178 编写于 作者: 孙悦 提交者: Gitee

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

Signed-off-by: Nsunyue <sunyue77@h-partners.com>
上级 ad8a801e
...@@ -21,7 +21,7 @@ import inputMethod from '@ohos.inputMethod'; ...@@ -21,7 +21,7 @@ import inputMethod from '@ohos.inputMethod';
| MAX_TYPE_NUM | number | 是 | 否 | 可支持的最大输入法个数。 | | MAX_TYPE_NUM | number | 是 | 否 | 可支持的最大输入法个数。 |
## InputMethodProperty<sup>8+</sup><a name="InputMethodProperty"></a> ## InputMethodProperty<sup>8+</sup>
输入法应用属性。 输入法应用属性。
...@@ -32,7 +32,7 @@ import inputMethod from '@ohos.inputMethod'; ...@@ -32,7 +32,7 @@ import inputMethod from '@ohos.inputMethod';
| packageName | string | 是 | 否 | 包名。 | | packageName | string | 是 | 否 | 包名。 |
| methodId | string | 是 | 否 | Ability名。 | | methodId | string | 是 | 否 | Ability名。 |
## inputMethod.getInputMethodController<a name="getInputMethodController"></a> ## inputMethod.getInputMethodController
getInputMethodController(): InputMethodController getInputMethodController(): InputMethodController
...@@ -50,7 +50,7 @@ getInputMethodController(): InputMethodController ...@@ -50,7 +50,7 @@ getInputMethodController(): InputMethodController
```js ```js
var InputMethodController = inputMethod.getInputMethodController(); var InputMethodController = inputMethod.getInputMethodController();
``` ```
## inputMethod.getInputMethodSetting<sup>8+</sup><a name="getInputMethodSetting"></a> ## inputMethod.getInputMethodSetting<sup>8+</sup>
getInputMethodSetting(): InputMethodSetting getInputMethodSetting(): InputMethodSetting
...@@ -70,7 +70,7 @@ getInputMethodSetting(): InputMethodSetting ...@@ -70,7 +70,7 @@ getInputMethodSetting(): InputMethodSetting
var InputMethodSetting = inputMethod.getInputMethodSetting(); var InputMethodSetting = inputMethod.getInputMethodSetting();
``` ```
## InputMethodController<a name="InputMethodController"></a> ## InputMethodController
下列API示例中都需使用[getInputMethodController](#getInputMethodController)回调获取到InputMethodController实例,再通过此实例调用对应方法。 下列API示例中都需使用[getInputMethodController](#getInputMethodController)回调获取到InputMethodController实例,再通过此实例调用对应方法。
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册