Blame view

天文台pc/tianwentai-ui/node_modules/react-dnd-html5-backend/dist/NativeDragSources/NativeDragSource.d.ts 483 Bytes
bc518174   王天杨   提交两个项目文件
1
2
3
4
5
6
7
8
9
10
11
12
13
  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;
  }