Files
SBPanel-Backend/frontend/admin/node_modules/element-plus/lib/hooks/use-draggable/index.d.ts
CN-JS-HuiBai db7f1ba82f
Some checks failed
build / build (api, amd64, linux) (push) Failing after -51s
build / build (api, arm64, linux) (push) Failing after -52s
build / build (api.exe, amd64, windows) (push) Failing after -51s
使用VUE重构项目
2026-04-20 00:19:11 +08:00

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 };