Skip to content
On this page

Function: useGetPointerPosition ​

â–¸ useGetPointerPosition(): (__namedParameters: UseDragEvent) => { x: number ; xSnapped: number ; y: number ; ySnapped: number }

This composable is for internal use only.

Returns ​

fn

▸ («destructured»): Object

Parameters ​
NameType
«destructured»UseDragEvent
Returns ​

Object

NameType
xnumber
xSnappednumber
ynumber
ySnappednumber

Released under the MIT License.