未验证 提交 f878dc80 编写于 作者: O openharmony_ci 提交者: Gitee

!15186 【轻量级 PR】:update zh-cn/application-dev/reference/arkui-ts/ts-universal-events-drag-drop.md.

Merge pull request !15186 from LiAn/N/A
......@@ -32,11 +32,11 @@ extraParams是Json对象转换的string字符串,可以通过Json.parse转换
| selectedIndex | number | 当拖拽事件设在父容器的子元素时,selectedIndex表示当前被拖拽子元素是父容器第selectedIndex个子元素,selectedIndex从0开始。<br/>仅在ListItem组件的拖拽事件中生效。 |
| insertIndex | number | 当前拖拽元素在List组件中放下时,insertIndex表示被拖拽元素插入该组件的第insertIndex个位置,insertIndex从0开始。<br/>仅在List组件的拖拽事件中生效。 |
### DragEvent说明
## DragEvent说明
| 名称 | 类型 | 功能描述 |
| ------ | ------ | ----------------------------- |
| getX() | number | 当前拖拽点x轴坐标,单位为vp。 |
| getY() | number | 当前拖拽点y轴坐标,单位为vp。 |
| getX() | number | 当前拖拽点相对于屏幕左上角的x轴坐标,单位为vp。 |
| getY() | number | 当前拖拽点相对于屏幕左上角的y轴坐标,单位为vp。 |
## 示例
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册