Skip to content

@vue-flow/monorepo • Docs


Function: useGetPointerPosition() ​

useGetPointerPosition(): (__namedParameters) => object

Internal

Composable that returns a function to get the pointer position

Returns ​

Function

Parameters ​

• __namedParameters: UseDragEvent

Returns ​

object

x ​

x: number

xSnapped ​

xSnapped: number

y ​

y: number

ySnapped ​

ySnapped: number

Released under the MIT License.