mirror of
https://github.com/wassname/DefinitelyTyped.git
synced 2026-09-09 11:13:57 +08:00
Vendored
+4
-4
@@ -24,7 +24,7 @@ interface DropzoneOptions {
|
||||
headers?: any;
|
||||
addRemoveLinks?: boolean;
|
||||
previewsContainer?: string;
|
||||
clickable?: boolean;
|
||||
clickable?: any;
|
||||
createImageThumbnails?: boolean;
|
||||
maxThumbnailFilesize?: number;
|
||||
thumbnailWidth?: number;
|
||||
@@ -39,7 +39,7 @@ interface DropzoneOptions {
|
||||
forceFallback?: boolean;
|
||||
fallback?: () => void;
|
||||
|
||||
// dictionary options
|
||||
// dictionary options
|
||||
dictDefaultMessage?: string;
|
||||
dictFallbackMessage?: string;
|
||||
dictFallbackText?: string;
|
||||
@@ -66,13 +66,13 @@ declare class Dropzone {
|
||||
off(eventName): void;
|
||||
|
||||
removeFile(file: DropzoneFile): void;
|
||||
removeAllFiles(): void;
|
||||
removeAllFiles(cancelIfNecessary?: boolean): void;
|
||||
processQueue(): void;
|
||||
getAcceptedFiles(): DropzoneFile[];
|
||||
getRejectedFiles(): DropzoneFile[];
|
||||
getQueuedFiles(): DropzoneFile[];
|
||||
getUploadingFiles(): DropzoneFile[];
|
||||
|
||||
|
||||
emit(eventName: string, file: DropzoneFile, str?: string);
|
||||
emit(eventName: "thumbnail", file: DropzoneFile, path: string);
|
||||
emit(eventName: "addedfile", file: DropzoneFile);
|
||||
|
||||
Reference in New Issue
Block a user