14 lines
483 B
TypeScript
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;
|
|
}
|