mirror of
https://gitee.com/openharmony/interface_sdk-js
synced 2024-11-23 15:20:17 +00:00
add description
Signed-off-by: zhaolinglan <zhaolinglan1@huawei.com>
This commit is contained in:
parent
0c74291559
commit
5551470807
12
api/@ohos.inputMethod.d.ts
vendored
12
api/@ohos.inputMethod.d.ts
vendored
@ -911,7 +911,8 @@ declare namespace inputMethod {
|
||||
stopInput(): Promise<boolean>;
|
||||
|
||||
/**
|
||||
* Show soft keyboard
|
||||
* Show soft keyboard.
|
||||
* This API can be called only by system applications.
|
||||
*
|
||||
* @permission ohos.permission.CONNECT_IME_ABILITY
|
||||
* @param { AsyncCallback<void> } callback - the callback of showSoftKeyboard.
|
||||
@ -924,7 +925,8 @@ declare namespace inputMethod {
|
||||
showSoftKeyboard(callback: AsyncCallback<void>): void;
|
||||
|
||||
/**
|
||||
* Show soft keyboard
|
||||
* Show soft keyboard.
|
||||
* This API can be called only by system applications.
|
||||
*
|
||||
* @permission ohos.permission.CONNECT_IME_ABILITY
|
||||
* @returns { Promise<void> } the promise returned by the function.
|
||||
@ -937,7 +939,8 @@ declare namespace inputMethod {
|
||||
showSoftKeyboard(): Promise<void>;
|
||||
|
||||
/**
|
||||
* Hide soft keyboard
|
||||
* Hide soft keyboard.
|
||||
* This API can be called only by system applications.
|
||||
*
|
||||
* @permission ohos.permission.CONNECT_IME_ABILITY
|
||||
* @param { AsyncCallback<void> } callback - the callback of hideSoftKeyboard.
|
||||
@ -950,7 +953,8 @@ declare namespace inputMethod {
|
||||
hideSoftKeyboard(callback: AsyncCallback<void>): void;
|
||||
|
||||
/**
|
||||
* Hide soft keyboard
|
||||
* Hide soft keyboard.
|
||||
* This API can be called only by system applications.
|
||||
*
|
||||
* @permission ohos.permission.CONNECT_IME_ABILITY
|
||||
* @returns { Promise<void> } the promise returned by the function.
|
||||
|
Loading…
Reference in New Issue
Block a user