Function: useGetPointerPosition
▸ useGetPointerPosition(): (__namedParameters
: UseDragEvent
) => { x
: number
; xSnapped
: number
; y
: number
; ySnapped
: number
}
Returns
fn
▸ («destructured»
): Object
Parameters
Name | Type |
---|---|
«destructured» | UseDragEvent |
Returns
Object
Name | Type |
---|---|
x | number |
xSnapped | number |
y | number |
ySnapped | number |