未验证 提交 d69bc0f0 编写于 作者: N ningning 提交者: Gitee

格式修改

Signed-off-by: Nningning <wangningning14@huawei.com>
上级 6823b4fd
...@@ -14,7 +14,7 @@ ...@@ -14,7 +14,7 @@
import dragInteraction from '@ohos.deviceStatus.dragInteraction' import dragInteraction from '@ohos.deviceStatus.dragInteraction'
``` ```
## dragInteraction.on ## dragInteraction.on('drag')
on(type: 'drag', callback: Callback&lt;DragState&gt;): void; on(type: 'drag', callback: Callback&lt;DragState&gt;): void;
...@@ -41,7 +41,7 @@ try { ...@@ -41,7 +41,7 @@ try {
} }
``` ```
## dragInteraction.off ## dragInteraction.off('drag')
off(type: 'drag', callback?: Callback&lt;DragState&gt;): void; off(type: 'drag', callback?: Callback&lt;DragState&gt;): void;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册