@vue-flow/monorepo • Docs
Function: useGetPointerPosition() ​
useGetPointerPosition(): (
event
) =>object
Internal
Composable that returns a function to get the pointer position
Returns ​
Function
Parameters ​
• event: UseDragEvent
| MouseTouchEvent
Returns ​
object
x ​
x:
number
xSnapped ​
xSnapped:
number
y ​
y:
number
ySnapped ​
ySnapped:
number