Files
igny8/frontend/node_modules/react-dnd-html5-backend/dist/NativeDragSources/NativeDragSource.d.ts

14 lines
483 B
TypeScript

import type { DragDropMonitor } from 'dnd-core';
import type { NativeItemConfig } from './nativeTypesConfig.js';
export declare class NativeDragSource {
item: any;
private config;
constructor(config: NativeItemConfig);
private initializeExposedProperties;
loadDataTransfer(dataTransfer: DataTransfer | null | undefined): void;
canDrag(): boolean;
beginDrag(): any;
isDragging(monitor: DragDropMonitor, handle: string): boolean;
endDrag(): void;
}