From 0b65b40441aa97211d5f4372e835e2e19d3d57e1 Mon Sep 17 00:00:00 2001 From: zhouyongfei Date: Tue, 22 Mar 2022 09:56:10 +0000 Subject: [PATCH] refresh Signed-off-by: zhouyongfei --- .../reference/apis/js-apis-inputmethod.md | 20 +++--- .../apis/js-apis-inputmethodengine.md | 66 +++++++++---------- 2 files changed, 43 insertions(+), 43 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 5be5ae8273..bb48bd9a80 100644 --- a/zh-cn/application-dev/reference/apis/js-apis-inputmethod.md +++ b/zh-cn/application-dev/reference/apis/js-apis-inputmethod.md @@ -14,7 +14,7 @@ import inputMethod from '@ohos.inputMethod'; 常量值。 -**系统能力**:以下各项对应的系统能力均为SystemCapability.MiscServices.InputMethodFramework +**系统能力**:以下各项对应的系统能力均为SystemCapability.Miscservices.InputMethodFramework | 名称 | 参数类型 | 可读 | 可写 | 说明 | | -------- | -------- | -------- | -------- | -------- | @@ -25,7 +25,7 @@ import inputMethod from '@ohos.inputMethod'; 输入法应用属性。 -**系统能力**:以下各项对应的系统能力均为SystemCapability.MiscServices.InputMethodFramework +**系统能力**:以下各项对应的系统能力均为SystemCapability.Miscservices.InputMethodFramework | 名称 | 参数类型 | 可读 | 可写 | 说明 | | -------- | -------- | -------- | -------- | -------- | @@ -38,7 +38,7 @@ getInputMethodController(): InputMethodController 获取客户端实例[InputMethodController](#InputMethodController)。 -**系统能力**:SystemCapability.MiscServices.InputMethodFramework +**系统能力**:SystemCapability.Miscservices.InputMethodFramework - 返回值 @@ -56,7 +56,7 @@ getInputMethodSetting(): InputMethodSetting 获取客户端设置实例[InputMethodSetting](#InputMethodSetting)。 -**系统能力**: SystemCapability.MiscServices.InputMethodFramework +**系统能力**: SystemCapability.Miscservices.InputMethodFramework - 返回值 @@ -80,7 +80,7 @@ stopInput(callback: AsyncCallback<boolean>): void 隐藏输入法。 -**系统能力**:SystemCapability.MiscServices.InputMethodFramework +**系统能力**:SystemCapability.Miscservices.InputMethodFramework - 参数 @@ -102,7 +102,7 @@ stopInput(): Promise<boolean> 隐藏输入法。 -**系统能力**: SystemCapability.MiscServices.InputMethodFramework +**系统能力**: SystemCapability.Miscservices.InputMethodFramework - 返回值 @@ -128,7 +128,7 @@ listInputMethod(callback: AsyncCallback<Array<InputMethodProperty>>) 查询已安装的输入法列表。 -**系统能力**: SystemCapability.MiscServices.InputMethodFramework +**系统能力**: SystemCapability.Miscservices.InputMethodFramework - 参数 | 参数名 | 类型 | 必填 | 说明 | @@ -151,7 +151,7 @@ listInputMethod(): Promise<Array<InputMethodProperty>> 查询已安装的输入法列表。 -**系统能力**: SystemCapability.MiscServices.InputMethodFramework +**系统能力**: SystemCapability.Miscservices.InputMethodFramework - 返回值 | 类型 | 说明 | @@ -173,7 +173,7 @@ displayOptionalInputMethod(callback: AsyncCallback<void>): void 显示输入法选择对话框。 -**系统能力**: SystemCapability.MiscServices.InputMethodFramework +**系统能力**: SystemCapability.Miscservices.InputMethodFramework - 参数 @@ -194,7 +194,7 @@ displayOptionalInputMethod(callback: AsyncCallback<void>): void 显示输入法选择对话框。 - **系统能力**: SystemCapability.MiscServices.InputMethodFramework + **系统能力**: SystemCapability.Miscservices.InputMethodFramework - 返回值 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 afbd6f22eb..f1918f7ba4 100644 --- a/zh-cn/application-dev/reference/apis/js-apis-inputmethodengine.md +++ b/zh-cn/application-dev/reference/apis/js-apis-inputmethodengine.md @@ -13,7 +13,7 @@ import inputMethodEngine from '@ohos.inputMethodEngine'; 常量值。 -**系统能力**:以下各项对应的系统能力均为SystemCapability.MiscServices.InputMethodFramework +**系统能力**:以下各项对应的系统能力均为SystemCapability.Miscservices.InputMethodFramework | 名称 | 参数类型 | 可读 | 可写 | 说明 | | -------- | -------- | -------- | -------- | -------- | @@ -50,7 +50,7 @@ getInputMethodEngine(): InputMethodEngine 获取服务端实例。 -**系统能力**: SystemCapability.MiscServices.InputMethodFramework +**系统能力**: SystemCapability.Miscservices.InputMethodFramework - 返回值 @@ -70,7 +70,7 @@ createKeyboardDelegate(): KeyboardDelegate 获取客户端监听实例。 -**系统能力**: SystemCapability.MiscServices.InputMethodFramework +**系统能力**: SystemCapability.Miscservices.InputMethodFramework - 返回值 @@ -94,7 +94,7 @@ on(type: 'inputStart', callback: (kbController: KeyboardController, textInputCli 订阅输入法绑定成功事件,使用callback回调返回输入法操作相关实例。 -**系统能力**: SystemCapability.MiscServices.InputMethodFramework +**系统能力**: SystemCapability.Miscservices.InputMethodFramework - 参数: @@ -118,7 +118,7 @@ off(type: 'inputStart', callback?: (kbController: KeyboardController, textInputC 取消订阅输入法绑定成功事件。 -**系统能力**: SystemCapability.MiscServices.InputMethodFramework +**系统能力**: SystemCapability.Miscservices.InputMethodFramework - 参数: @@ -141,7 +141,7 @@ on(type: 'keyboardShow'|'keyboardHide', callback: () => void): void 订阅输入法事件。 -**系统能力**: SystemCapability.MiscServices.InputMethodFramework +**系统能力**: SystemCapability.Miscservices.InputMethodFramework - 参数: @@ -164,7 +164,7 @@ off(type: 'keyboardShow'|'keyboardHide', callback?: () => void): void 取消订阅输入法事件。 -**系统能力**: SystemCapability.MiscServices.InputMethodFramework +**系统能力**: SystemCapability.Miscservices.InputMethodFramework - 参数: @@ -190,7 +190,7 @@ on(type: 'keyDown'|'keyUp', callback: (event: KeyEvent) => boolean): void 订阅硬键盘事件,使用callback回调返回按键信息。 -**系统能力**: SystemCapability.MiscServices.InputMethodFramework +**系统能力**: SystemCapability.Miscservices.InputMethodFramework - 参数: @@ -215,7 +215,7 @@ off(type: 'keyDown'|'keyUp', callback?: (event: KeyEvent) => boolean): void 取消订阅硬键盘事件。 -**系统能力**: SystemCapability.MiscServices.InputMethodFramework +**系统能力**: SystemCapability.Miscservices.InputMethodFramework - 参数: @@ -236,7 +236,7 @@ on(type: 'cursorContextChange', callback: (x: number, y:number, height:number) = 订阅光标变化事件,使用callback回调返回光标信息。 - **系统能力**: SystemCapability.MiscServices.InputMethodFramework + **系统能力**: SystemCapability.Miscservices.InputMethodFramework - 参数: @@ -261,7 +261,7 @@ off(type: 'cursorContextChange', callback?: (x: number, y:number, height:number) 取消订阅光标变化事件。 -**系统能力**: SystemCapability.MiscServices.InputMethodFramework +**系统能力**: SystemCapability.Miscservices.InputMethodFramework - 参数: @@ -282,7 +282,7 @@ on(type: 'selectionChange', callback: (oldBegin: number, oldEnd: number, newBegi 订阅文本选择变化事件,使用callback回调返回文本选择信息。 -**系统能力**: SystemCapability.MiscServices.InputMethodFramework +**系统能力**: SystemCapability.Miscservices.InputMethodFramework - 参数: @@ -305,7 +305,7 @@ off(type: 'selectionChange', callback?: (oldBegin: number, oldEnd: number, newBe 取消订阅文本选择变化事件。 -**系统能力**: SystemCapability.MiscServices.InputMethodFramework +**系统能力**: SystemCapability.Miscservices.InputMethodFramework - 参数: @@ -327,7 +327,7 @@ on(type: 'textChange', callback: (text: string) => void): void 订阅文本变化事件,使用callback回调返回当前文本内容。 -**系统能力**: SystemCapability.MiscServices.InputMethodFramework +**系统能力**: SystemCapability.Miscservices.InputMethodFramework - 参数: @@ -350,7 +350,7 @@ off(type: 'textChange', callback?: (text: string) => void): void 取消订阅文本变化事件。 -**系统能力**: SystemCapability.MiscServices.InputMethodFramework +**系统能力**: SystemCapability.Miscservices.InputMethodFramework - 参数: @@ -375,7 +375,7 @@ hideKeyboard(callback: AsyncCallback<void>): void 隐藏输入法。 -**系统能力**: SystemCapability.MiscServices.InputMethodFramework +**系统能力**: SystemCapability.Miscservices.InputMethodFramework - 参数: @@ -397,7 +397,7 @@ hideKeyboard(): Promise<void> 隐藏输入法。 -**系统能力**: SystemCapability.MiscServices.InputMethodFramework +**系统能力**: SystemCapability.Miscservices.InputMethodFramework - 返回值 @@ -422,7 +422,7 @@ getForward(length:number, callback: AsyncCallback<string>): void 获取光标前固定长度的文本。 -**系统能力**: SystemCapability.MiscServices.InputMethodFramework +**系统能力**: SystemCapability.Miscservices.InputMethodFramework - 参数 @@ -444,7 +444,7 @@ getForward(length:number): Promise<string> 获取光标前固定长度的文本。 -**系统能力**: SystemCapability.MiscServices.InputMethodFramework +**系统能力**: SystemCapability.Miscservices.InputMethodFramework - 参数 @@ -469,7 +469,7 @@ getBackward(length:number, callback: AsyncCallback<string>): void 获取光标后固定长度的文本。 -**系统能力**: SystemCapability.MiscServices.InputMethodFramework +**系统能力**: SystemCapability.Miscservices.InputMethodFramework - 参数 @@ -491,7 +491,7 @@ getBackward(length:number): Promise<string> 获取光标后固定长度的文本。 -**系统能力**: SystemCapability.MiscServices.InputMethodFramework +**系统能力**: SystemCapability.Miscservices.InputMethodFramework - 参数 @@ -516,7 +516,7 @@ deleteForward(length:number, callback: AsyncCallback<boolean>): void 删除光标前固定长度的文本。 -**系统能力**: SystemCapability.MiscServices.InputMethodFramework +**系统能力**: SystemCapability.Miscservices.InputMethodFramework - 参数 @@ -537,7 +537,7 @@ deleteForward(length:number): Promise<boolean> 删除光标前固定长度的文本。 -**系统能力**: SystemCapability.MiscServices.InputMethodFramework +**系统能力**: SystemCapability.Miscservices.InputMethodFramework - 参数 @@ -562,7 +562,7 @@ deleteBackward(length:number, callback: AsyncCallback<boolean>): void 删除光标后固定长度的文本。 -**系统能力**: SystemCapability.MiscServices.InputMethodFramework +**系统能力**: SystemCapability.Miscservices.InputMethodFramework - 参数 @@ -584,7 +584,7 @@ deleteBackward(length:number): Promise<boolean> 删除光标后固定长度的文本。 -**系统能力**: SystemCapability.MiscServices.InputMethodFramework +**系统能力**: SystemCapability.Miscservices.InputMethodFramework - 参数 | 参数名 | 类型 | 必填 | 说明 | @@ -608,7 +608,7 @@ sendKeyFunction(action:number, callback: AsyncCallback<boolean>): void 发送功能键。 -**系统能力**: SystemCapability.MiscServices.InputMethodFramework +**系统能力**: SystemCapability.Miscservices.InputMethodFramework - 参数 @@ -630,7 +630,7 @@ sendKeyFunction(action:number): Promise<boolean> 发送功能键。 -**系统能力**: SystemCapability.MiscServices.InputMethodFramework +**系统能力**: SystemCapability.Miscservices.InputMethodFramework - 参数 | 参数名 | 类型 | 必填 | 说明 | @@ -655,7 +655,7 @@ insertText(text:string, callback: AsyncCallback<boolean>): void 插入文本。 -**系统能力**: SystemCapability.MiscServices.InputMethodFramework +**系统能力**: SystemCapability.Miscservices.InputMethodFramework - 参数 @@ -677,7 +677,7 @@ insertText(text:string): Promise<boolean> 插入文本。 -**系统能力**: SystemCapability.MiscServices.InputMethodFramework +**系统能力**: SystemCapability.Miscservices.InputMethodFramework - 参数 | 参数名 | 类型 | 必填 | 说明 | @@ -702,7 +702,7 @@ getEditorAttribute(callback: AsyncCallback<EditorAttribute>): void 获取编辑框属性值。 -**系统能力**: SystemCapability.MiscServices.InputMethodFramework +**系统能力**: SystemCapability.Miscservices.InputMethodFramework - 参数 | 参数名 | 类型 | 必填 | 说明 | @@ -721,7 +721,7 @@ getEditorAttribute(): Promise<EditorAttribute> 获取编辑框属性值。 -**系统能力**: SystemCapability.MiscServices.InputMethodFramework +**系统能力**: SystemCapability.Miscservices.InputMethodFramework - 返回值 | 类型 | 说明 | @@ -737,7 +737,7 @@ getEditorAttribute(): Promise<EditorAttribute> 编辑框属性值。 -**系统能力**:以下各项对应的系统能力均为SystemCapability.MiscServices.InputMethodFramework +**系统能力**:以下各项对应的系统能力均为SystemCapability.Miscservices.InputMethodFramework | 名称 | 参数类型 | 可读 | 可写 | 说明 | | ------------ | -------- | ---- | ---- | ------------------ | @@ -748,7 +748,7 @@ getEditorAttribute(): Promise<EditorAttribute> 按键属性值。 -**系统能力**:以下各项对应的系统能力均为SystemCapability.MiscServices.InputMethodFramework +**系统能力**:以下各项对应的系统能力均为SystemCapability.Miscservices.InputMethodFramework | 名称 | 参数类型 | 可读 | 可写 | 说明 | | --------- | -------- | ---- | ---- | ------------ | -- GitLab