wix-style-react
Version:
wix-style-react
26 lines • 756 B
TypeScript
export function dragAndDropDriverFactory({ base, element }: {
base: any;
element: any;
}): {
beginDrag: ({ dataHook }: {
dataHook: any;
}) => Promise<void>;
dragOver: ({ dataHook, offset }: {
dataHook: any;
offset: any;
}) => Promise<void>;
endDrag: (item: any) => Promise<any>;
getItemPosition: ({ dataHook }: {
dataHook: any;
}) => Promise<any>;
getItemDepth: ({ dataHook }: {
dataHook: any;
}) => Promise<number>;
};
export function changeItemDepth({ dragAndDropDriver, depthLevel, threshold, dataHook, }: {
dragAndDropDriver: any;
depthLevel: any;
threshold: any;
dataHook: any;
}): Promise<void>;
//# sourceMappingURL=dragAndDropDriverFactory.d.ts.map