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