UNPKG

@vue-flow/core

Version:

[![Vue flow](vue-flow.gif)](https://vueflow.dev/) ![top-language](https://img.shields.io/github/languages/top/bcakmakoglu/vue-flow) ![GitHub code size in bytes](https://img.shields.io/github/languages/code-size/bcakmakoglu/vue-flow) ![GitHub last commit](

15 lines (13 loc) 343 B
import type { MouseTouchEvent } from '../types' import type { UseDragEvent } from './useDrag' /** * Composable that returns a function to get the pointer position * * @internal */ export declare function useGetPointerPosition(): (event: UseDragEvent | MouseTouchEvent) => { x: number y: number xSnapped: number ySnapped: number }