diff --git a/zh-cn/application-dev/reference/apis/js-apis-inputmethod.md b/zh-cn/application-dev/reference/apis/js-apis-inputmethod.md index 575410c62e8d1d1d2815d4647ab6644e95f91d4b..e84c986f251d9b54a7b0bef17c7c6c1402fdf4d6 100644 --- a/zh-cn/application-dev/reference/apis/js-apis-inputmethod.md +++ b/zh-cn/application-dev/reference/apis/js-apis-inputmethod.md @@ -21,7 +21,7 @@ import inputMethod from '@ohos.inputMethod'; | MAX_TYPE_NUM | number | 是 | 否 | 可支持的最大输入法个数。 | -## InputMethodProperty8+ +## InputMethodProperty8+ 输入法应用属性。 @@ -32,7 +32,7 @@ import inputMethod from '@ohos.inputMethod'; | packageName | string | 是 | 否 | 包名。 | | methodId | string | 是 | 否 | Ability名。 | -## inputMethod.getInputMethodController +## inputMethod.getInputMethodController getInputMethodController(): InputMethodController @@ -51,7 +51,7 @@ getInputMethodController(): InputMethodController var InputMethodController = inputMethod.getInputMethodController(); ``` -## inputMethod.getInputMethodSetting8+ +## inputMethod.getInputMethodSetting8+ getInputMethodSetting(): InputMethodSetting @@ -71,7 +71,7 @@ getInputMethodSetting(): InputMethodSetting var InputMethodSetting = inputMethod.getInputMethodSetting(); ``` -## InputMethodController +## InputMethodController 下列API示例中都需使用[getInputMethodController](#getInputMethodController)回调获取到InputMethodController实例,再通过此实例调用对应方法。 @@ -119,7 +119,7 @@ stopInput(): Promise<boolean> console.info('stopInput isSuccess = ' + isSuccess); ``` -## InputMethodSetting8+ +## InputMethodSetting8+ 下列API示例中都需使用[getInputMethodSetting](#getInputMethodSetting)回调获取到InputMethodSetting实例,再通过此实例调用对应方法。