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