From af366d8ec0e9bda3cc183ca4b18da08c94a4d84a Mon Sep 17 00:00:00 2001 From: zhaolinglan Date: Mon, 3 Jul 2023 16:21:05 +0800 Subject: [PATCH] modify description Signed-off-by: zhaolinglan --- .../reference/apis/js-apis-inputmethodengine.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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 198617220f..1e1a095cc0 100644 --- a/zh-cn/application-dev/reference/apis/js-apis-inputmethodengine.md +++ b/zh-cn/application-dev/reference/apis/js-apis-inputmethodengine.md @@ -726,7 +726,7 @@ inputMethodEngine.getKeyboardDelegate().off('keyDown', (keyEvent) => { }); ``` -### on('keyEvent') +### on('keyEvent')10+ on(type: 'keyEvent', callback: (event: InputKeyEvent) => boolean): void @@ -752,7 +752,7 @@ inputMethodEngine.getKeyboardDelegate().on('keyEvent', (keyEvent) => { }); ``` -### off('keyEvent') +### off('keyEvent')10+ off(type: 'keyEvent', callback?: (event: InputKeyEvent) => boolean): void -- GitLab