MrDoc/static/vditor/dist/ts/upload/index.d.ts
2020-09-26 21:51:40 +08:00

10 lines
311 B
TypeScript

/// <reference types="./types" />
declare class Upload {
element: HTMLElement;
isUploading: boolean;
range: Range;
constructor();
}
declare const uploadFiles: (vditor: IVditor, files: FileList | DataTransferItemList | File[], element?: HTMLInputElement) => void;
export { Upload, uploadFiles };