Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
OpenHarmony
Docs
提交
82409f19
D
Docs
项目概览
OpenHarmony
/
Docs
大约 2 年 前同步成功
通知
161
Star
293
Fork
28
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
D
Docs
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
提交
Issue看板
You need to sign in or sign up before continuing.
提交
82409f19
编写于
10月 19, 2022
作者:
H
Hollokin
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
update
Signed-off-by:
N
Hollokin
<
taoyuxin2@huawei.com
>
上级
83695878
变更
1
隐藏空白更改
内联
并排
Showing
1 changed file
with
6 addition
and
6 deletion
+6
-6
zh-cn/application-dev/reference/apis/js-apis-inputmethodengine.md
...plication-dev/reference/apis/js-apis-inputmethodengine.md
+6
-6
未找到文件。
zh-cn/application-dev/reference/apis/js-apis-inputmethodengine.md
浏览文件 @
82409f19
...
@@ -58,7 +58,7 @@ getInputMethodEngine(): InputMethodEngine
...
@@ -58,7 +58,7 @@ getInputMethodEngine(): InputMethodEngine
获取服务端实例。
获取服务端实例。
> **说明:**
> **说明:**
> 从API version 9开始废弃, 建议使用[getInputMethodAbility](#
inputmethodenginegetinputmethodability9
)替代
> 从API version 9开始废弃, 建议使用[getInputMethodAbility](#
getInputMethodAbility
)替代
>
>
> 从 API version 8开始支持。
> 从 API version 8开始支持。
...
@@ -143,7 +143,7 @@ getKeyboardDelegate(): KeyboardDelegate
...
@@ -143,7 +143,7 @@ getKeyboardDelegate(): KeyboardDelegate
## InputMethodEngine<a name="InputMethodEngine"></a>
## InputMethodEngine<a name="InputMethodEngine"></a>
下列API示例中都需使用
[
getInputMethodEngine
](
#
inputmethodenginegetinputmethodenginedeprecated
)
回调获取到InputMethodEngine实例,再通过此实例调用对应方法。
下列API示例中都需使用
[
getInputMethodEngine
](
#
getInputMethodEngine
)
回调获取到InputMethodEngine实例,再通过此实例调用对应方法。
### on('inputStart')<a name="inputStart"></a>
### on('inputStart')<a name="inputStart"></a>
...
@@ -340,9 +340,9 @@ off(type: 'keyboardShow'|'keyboardHide', callback?: () => void): void
...
@@ -340,9 +340,9 @@ off(type: 'keyboardShow'|'keyboardHide', callback?: () => void): void
## InputMethodAbility<a name="InputMethodAbility"></a>
## InputMethodAbility<a name="InputMethodAbility"></a>
下列API示例中都需使用
[
getInputMethodAbility
](
#
inputmethodenginegetinputmethodability9
)
回调获取到InputMethodAbility实例,再通过此实例调用对应方法。
下列API示例中都需使用
[
getInputMethodAbility
](
#
getInputMethodAbility
)
回调获取到InputMethodAbility实例,再通过此实例调用对应方法。
### on('inputStart')<a name="inputStart"></a><sup>9+</sup>
### on('inputStart')<a name="inputStart
9
"></a><sup>9+</sup>
on(type: 'inputStart', callback: (kbController: KeyboardController, inputClient: InputClient) => void): void
on(type: 'inputStart', callback: (kbController: KeyboardController, inputClient: InputClient) => void): void
...
@@ -789,7 +789,7 @@ inputMethodEngine.getKeyboardDelegate().off('textChange', (text) => {
...
@@ -789,7 +789,7 @@ inputMethodEngine.getKeyboardDelegate().off('textChange', (text) => {
## KeyboardController<a name="KeyboardController"></a>
## KeyboardController<a name="KeyboardController"></a>
下列API示例中都需使用
[
inputStart
](
#
oninputs
tart9
)
回调获取到KeyboardController实例,再通过此实例调用对应方法。
下列API示例中都需使用
[
inputStart
](
#
inputS
tart9
)
回调获取到KeyboardController实例,再通过此实例调用对应方法。
### hideKeyboard
### hideKeyboard
...
@@ -845,7 +845,7 @@ async function InputMethodEngine() {
...
@@ -845,7 +845,7 @@ async function InputMethodEngine() {
## TextInputClient<a name="TextInputClient"></a>
## TextInputClient<a name="TextInputClient"></a>
下列API示例中都需使用
[
inputStart
](
#
oninputstart
)
回调获取到TextInputClient实例,再通过此实例调用对应方法。
下列API示例中都需使用
[
inputStart
](
#
inputStart9
)
回调获取到TextInputClient实例,再通过此实例调用对应方法。
### getForward<sup>(deprecated)</sup>
### getForward<sup>(deprecated)</sup>
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录