From 3e6451787e6cc481a76f46e08c6f0994640d7299 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=AD=99=E6=82=A6?= Date: Fri, 24 Jun 2022 02:40:37 +0000 Subject: [PATCH] update zh-cn/application-dev/reference/apis/js-apis-inputmethod.md. Signed-off-by: sunyue --- .../application-dev/reference/apis/js-apis-inputmethod.md | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) 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 39761d9718..efe96fbc82 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 @@ -50,7 +50,7 @@ getInputMethodController(): InputMethodController ```js var InputMethodController = inputMethod.getInputMethodController(); ``` -## inputMethod.getInputMethodSetting8+ +## inputMethod.getInputMethodSetting8+ getInputMethodSetting(): InputMethodSetting @@ -70,7 +70,7 @@ getInputMethodSetting(): InputMethodSetting var InputMethodSetting = inputMethod.getInputMethodSetting(); ``` -## InputMethodController +## InputMethodController 下列API示例中都需使用[getInputMethodController](#getInputMethodController)回调获取到InputMethodController实例,再通过此实例调用对应方法。 -- GitLab