From 2c5754536d723c5d3ef063755676264cb5c93eaf Mon Sep 17 00:00:00 2001 From: Hollokin Date: Fri, 7 Apr 2023 11:51:31 +0800 Subject: [PATCH] update Signed-off-by: Hollokin --- .../reference/apis/js-apis-inputmethodengine.md | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/zh-cn/application-dev/reference/apis/js-apis-inputmethodengine.md b/zh-cn/application-dev/reference/apis/js-apis-inputmethodengine.md index 4e804bd053..04f6fd7f3a 100644 --- a/zh-cn/application-dev/reference/apis/js-apis-inputmethodengine.md +++ b/zh-cn/application-dev/reference/apis/js-apis-inputmethodengine.md @@ -504,7 +504,7 @@ createPanel(ctx: BaseContext, info: PanelInfo, callback: AsyncCallback\): ```js let panelInfo: inputMethodEngine.PanelInfo = { - panelType: SOFTKEYBOARD, + panelType: SOFT_KEYBOARD, panelFlag: FLG_FIXED } try { @@ -550,7 +550,7 @@ createPanel(ctx: BaseContext, info: PanelInfo): Promise\ ```js let panelInfo: inputMethodEngine.PanelInfo = { - panelType: SOFTKEYBOARD, + panelType: SOFT_KEYBOARD, panelFlag: FLG_FIXED } inputMethodEngine.getInputMethodAbility().createPanel(this.context, panelInfo).then((panel) => { @@ -579,7 +579,7 @@ destroyPanel(panel: Panel, callback: AsyncCallback\): void; ```js let panelInfo: inputMethodEngine.PanelInfo = { - panelType: SOFTKEYBOARD, + panelType: SOFT_KEYBOARD, panelFlag: FLG_FIXED } try { @@ -631,7 +631,7 @@ destroyPanel(panel: Panel): Promise\; ```js let panelInfo: inputMethodEngine.PanelInfo = { - panelType: SOFTKEYBOARD, + panelType: SOFT_KEYBOARD, panelFlag: FLG_FIXED } try { -- GitLab