Skip to content

Commit 486328a

Browse files
committed
Update API documentation for new object exposed in getDragLayerState()
1 parent 0c67434 commit 486328a

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

docs/API.md

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -135,7 +135,10 @@ Returns all you need in order to draw a custom drag layer:
135135
draggedItemType: string,
136136
draggedItem: Object,
137137
initialOffset: { x, y },
138-
currentOffset: { x, y }
138+
currentOffset: { x, y },
139+
currentOffsetFromClient: { x, y },
140+
initialOffsetFromClient: { x, y },
141+
initialOffsetFromContainer: { x, y }
139142
}
140143
```
141144

0 commit comments

Comments
 (0)