vue-devui
Version:
DevUI components based on Vite and Vue3
8 lines (7 loc) • 306 B
TypeScript
import type { ComputedRef, Ref } from 'vue';
interface Draggable {
clearPosition: () => void;
modalPosition: Ref<string>;
}
export declare const useDraggable: (targetRef: Ref<HTMLElement | undefined>, dragRef: Ref<HTMLElement | undefined>, draggable: ComputedRef<boolean>) => Draggable;
export {};