“0e49ddf53b8520c55c89176010231de3c8d71b1c”上不存在“zh-cn/application-dev/reference/apis/js-apis-eventhub.md”
提交 dacd898a 编写于 作者: E ester.zhou

Update docs (15186)

Signed-off-by: Nester.zhou <ester.zhou@huawei.com>
上级 2f095629
......@@ -36,12 +36,12 @@ Provides additional information required for dragging an item.
| selectedIndex | number | Index of the dragged item in the parent container. The value of **selectedindex** starts from **0**.<br>This attribute is valid only in the drag event of the **\<ListItem>** component.|
| insertIndex | number | Index of the element into which the dragged item is dropped in the **List** component. The value of **insertIndex** starts from **0**.<br>This attribute is valid only in the drag event of the **\<List>** component.|
### DragEvent
## DragEvent
| Name | Type | Description |
| ------ | ------ | ---------------- |
| getX() | number | X-coordinate of the item that is being dragged, in vp.|
| getY() | number | Y-coordinate of the item that is being dragged, in vp.|
| getX() | number | X-coordinate of the drag position relative to the upper left corner of the screen, in vp.|
| getY() | number | Y-coordinate of the drag position relative to the upper left corner of the screen, in vp.|
## Example
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册