Signed-off-by: wangdongqi <wangdongqi2@huawei.com>

Changes to be committed:
This commit is contained in:
wangdongqi 2024-07-31 10:23:12 +08:00
parent e11de00250
commit 9deb4a644d
2 changed files with 18 additions and 1 deletions

View File

@ -1621,7 +1621,15 @@ declare namespace inputMethod {
* @syscap SystemCapability.MiscServices.InputMethodFramework
* @since 10
*/
PREVIOUS
PREVIOUS,
/**
* The enter key type is NEWLINE.
*
* @syscap SystemCapability.MiscServices.InputMethodFramework
* @since 12
*/
NEWLINE
}
/**

View File

@ -94,6 +94,15 @@ declare namespace inputMethodEngine {
*/
const ENTER_KEY_TYPE_PREVIOUS: number;
/**
* When "enter" key is pressed, it means NEWLINE
*
* @constant
* @syscap SystemCapability.MiscServices.InputMethodFramework
* @since 12
*/
const ENTER_KEY_TYPE_NEWLINE: 8;
/**
* Editor with no special function
*