You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
10 lines
413 B
TypeScript
10 lines
413 B
TypeScript
import { ComputedRef, Ref } from "vue";
|
|
|
|
//#region ../../packages/hooks/use-draggable/index.d.ts
|
|
declare const useDraggable: (targetRef: Ref<HTMLElement | undefined>, dragRef: Ref<HTMLElement | undefined>, draggable: ComputedRef<boolean>, overflow?: ComputedRef<boolean>) => {
|
|
isDragging: Ref<boolean, boolean>;
|
|
resetPosition: () => void;
|
|
updatePosition: () => void;
|
|
};
|
|
//#endregion
|
|
export { useDraggable }; |