mirror of
https://github.com/FlipsideCrypto/DefinitelyTyped.git
synced 2026-02-06 10:56:53 +00:00
Update jquery.fileuploade.d.ts
This commit is contained in:
parent
af81415504
commit
c67995d1ec
33
jquery.fileupload/jquery.fileupload.d.ts
vendored
33
jquery.fileupload/jquery.fileupload.d.ts
vendored
@ -204,6 +204,35 @@ interface JQueryFileInputOptions {
|
||||
contentType?: string;
|
||||
|
||||
cache?: boolean;
|
||||
timeout?: number;
|
||||
|
||||
active?: Function;
|
||||
progress?: Function;
|
||||
send?: Function;
|
||||
|
||||
// Other callbacks:
|
||||
submit?: Function;
|
||||
done?: Function;
|
||||
fail?: Function;
|
||||
always?: Function;
|
||||
progressall?: Function;
|
||||
start?: Function;
|
||||
stop?: Function;
|
||||
change?: Function;
|
||||
paste?: Function;
|
||||
drop?: Function;
|
||||
dragover?: Function;
|
||||
chunksend?: Function;
|
||||
chunkdone?: Function;
|
||||
chunkfail?: Function;
|
||||
chunkalways?: Function;
|
||||
|
||||
// Others
|
||||
url?: string;
|
||||
files?: any;
|
||||
|
||||
// Cross-site XMLHttpRequest file uploads
|
||||
xhrFields?: any;
|
||||
|
||||
}
|
||||
|
||||
@ -213,7 +242,9 @@ interface JQueryFileUpload extends JQuery {
|
||||
|
||||
interface JQuery {
|
||||
// Interface to the main method of jQuery File Upload
|
||||
fileupload(settings: JQueryFileInputOptions): JQueryFileUpload;
|
||||
fileupload(settings: JQueryFileInputOptions | string): JQueryFileUpload;
|
||||
fileupload(action:string, settings: JQueryFileInputOptions | string): JQueryFileUpload;
|
||||
fileupload(action: string, message:string, settings: JQueryFileInputOptions | string): JQueryFileUpload;
|
||||
}
|
||||
|
||||
interface JQuerySupport {
|
||||
|
||||
Loading…
Reference in New Issue
Block a user