From d69bc0f08b230e146951d548f6ae90355cd63387 Mon Sep 17 00:00:00 2001 From: ningning Date: Mon, 21 Aug 2023 13:17:17 +0000 Subject: [PATCH] =?UTF-8?q?=E6=A0=BC=E5=BC=8F=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: ningning --- .../reference/apis/js-apis-devicestatus-draginteraction.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/zh-cn/application-dev/reference/apis/js-apis-devicestatus-draginteraction.md b/zh-cn/application-dev/reference/apis/js-apis-devicestatus-draginteraction.md index bb24501d03..378357b8cb 100644 --- a/zh-cn/application-dev/reference/apis/js-apis-devicestatus-draginteraction.md +++ b/zh-cn/application-dev/reference/apis/js-apis-devicestatus-draginteraction.md @@ -14,7 +14,7 @@ import dragInteraction from '@ohos.deviceStatus.dragInteraction' ``` -## dragInteraction.on +## dragInteraction.on('drag') on(type: 'drag', callback: Callback<DragState>): void; @@ -41,7 +41,7 @@ try { } ``` -## dragInteraction.off +## dragInteraction.off('drag') off(type: 'drag', callback?: Callback<DragState>): void; -- GitLab