未验证 提交 680a98ab 编写于 作者: O openharmony_ci 提交者: Gitee

!4198 修改inputmethodengine/inputmethod文档

Merge pull request !4198 from wangdongqi/master
......@@ -151,7 +151,7 @@ Obtains the list of installed input methods. This API uses an asynchronous callb
### listInputMethod
listInputMethod(): Promise<Array<InputMethodProperty>>
listInputMethod(): Array<InputMethodProperty>
Obtains the list of installed input methods. This API uses an asynchronous callback to return the result.
......
......@@ -732,7 +732,7 @@ Obtains the attribute of the edit box. This API uses an asynchronous callback to
### getEditorAttribute
getEditorAttribute(): Promise<EditorAttribute>
getEditorAttribute(): EditorAttribute
Obtains the attribute of the edit box. This API uses a promise to return the result.
......
......@@ -147,7 +147,7 @@ listInputMethod(callback: AsyncCallback<Array<InputMethodProperty>>)
### listInputMethod
listInputMethod(): Promise<Array<InputMethodProperty>>
listInputMethod(): Array<InputMethodProperty>
查询已安装的输入法列表。
......
......@@ -735,7 +735,7 @@ getEditorAttribute(callback: AsyncCallback<EditorAttribute>): void
### getEditorAttribute
getEditorAttribute(): Promise<EditorAttribute>
getEditorAttribute(): EditorAttribute
获取编辑框属性值。
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册