vue-devui
Version:
DevUI components based on Vite and Vue3
13 lines (12 loc) • 330 B
TypeScript
interface BindingType {
value: {
droppable?: boolean;
isSingle?: boolean;
onFileDrop?: (files: File[]) => void;
onFileOver?: (event: unknown) => void;
};
}
declare const fileDropDirective: {
mounted: (el: HTMLElement, binding: BindingType) => void;
};
export default fileDropDirective;