UNPKG

vue-devui

Version:

DevUI components based on Vite and Vue3

10 lines (9 loc) 327 B
import { Ref } from 'vue'; export interface MoveableResult { movingX: Ref<number>; movingY: Ref<number>; handleRef: Ref<HTMLElement | null | undefined>; moveElRef: Ref<HTMLElement | null | undefined>; reset(): void; } export declare const useMoveable: (moveable?: Ref<boolean> | boolean) => MoveableResult;