Warning: file_get_contents(/data/phpspider/zhask/data//catemap/1/angularjs/25.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181

Warning: file_get_contents(/data/phpspider/zhask/data//catemap/2/github/3.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Javascript Dropzone.js找不到Dropzone引用_Javascript_Angularjs_Typescript_Dropzone.js - Fatal编程技术网

Javascript Dropzone.js找不到Dropzone引用

Javascript Dropzone.js找不到Dropzone引用,javascript,angularjs,typescript,dropzone.js,Javascript,Angularjs,Typescript,Dropzone.js,//Dropzone 4.3.0的类型定义 //项目:http://www.dropzonejs.com/ //定义人:Natan Vivo、Andy Hawkins、Vasya Aksyonov、Simon Huber //定义:https://github.com/DefinitelyTyped/DefinitelyTyped /// 接口DropzoneResizeInfo{ srcX?:数字; srcY?:数字; trgX?:编号; trgY?:数字; srcWidth?:数字; sr

//Dropzone 4.3.0的类型定义
//项目:http://www.dropzonejs.com/
//定义人:Natan Vivo、Andy Hawkins、Vasya Aksyonov、Simon Huber
//定义:https://github.com/DefinitelyTyped/DefinitelyTyped
/// 
接口DropzoneResizeInfo{
srcX?:数字;
srcY?:数字;
trgX?:编号;
trgY?:数字;
srcWidth?:数字;
srchheight?:数字;
trgWidth?:编号;
trgHeight?:数字;
optWidth?:编号;
选项?:编号;
}
接口DropzoneFile扩展文件{
预览元素:HTMLElement;
预览模板:HTMLElement;
PreviewContainer:HtmleElement;
状态:字符串;
接受:布尔值;
}
接口DropzoneOptions{
url?:字符串;
方法?:字符串;
withCredentials?:布尔值;
并行上传?:编号;
uploadMultiple?:布尔值;
maxFilesize?:编号;
paramName?:字符串;
createImageThumbnails?:布尔值;
maxThumbnailFilesize?:数字;
指钉宽度?:数字;
指钉高度?:数字;
文件大小库?:编号;
maxFiles?:编号;
参数?:{};
标题?:{};
可点击?:布尔值|字符串| HTMLElement |(字符串| HTMLElement)[];
ignoreHiddenFiles?:布尔值;
acceptedFiles?:字符串;
重命名文件名?(名称:字符串):字符串;
自动处理队列?:布尔值;
自动队列?:布尔值;
addRemoveLinks?:布尔值;
PreviewContainer?:布尔|字符串| HTMLElement;
hiddenInputContainer?:HTMLElement;
捕获?:字符串;
dictDefaultMessage?:字符串;
dictFallbackMessage?:字符串;
dictFallbackText?:字符串;
dictFileTooBig?:字符串;
DictionValidFileType?:字符串;
dictResponseError?:字符串;
dictCancelUpload?:字符串;
dictCancelUploadConfirmation?:字符串;
dictRemoveFile?:字符串;
dictRemoveFileConfirmation?:字符串;
DictMaxFilesExcepted?:字符串;
接受?(文件:DropzoneFile,完成:(错误?:字符串|错误)=>void):void;
初始?():无效;
forceFallback?:布尔值;
退路?():无效;
调整大小?(文件:DropzoneFile):DropzoneResizeInfo;
下降?(e:DrageEvent):无效;
dragstart?(e:DragEvent):无效;
dragend?(e:DragEvent):无效;
dragenter?(e:DragEvent):无效;
dragover?(e:DragEvent):无效;
dragleave?(e:DragEvent):无效;
粘贴?(e:DrageEvent):无效;
重置?():无效;
addedfile?(文件:DropzoneFile):无效;
addedfiles?(文件:DropzoneFile[]):void;
removedfile?(文件:DropzoneFile):无效;
缩略图?(文件:DropzoneFile,数据URL:string):无效;
错误?(文件:DropzoneFile,消息:string | error,xhr:XMLHttpRequest):void;
errormultiple?(文件:DropzoneFile[],消息:string | Error,xhr:XMLHttpRequest):无效;
处理?(文件:DropzoneFile):无效;
正在处理多个?(文件:DropzoneFile[]):void;
uploadprogress?(文件:DropzoneFile,进度:number,bytesSent:number):void;
totaluploadprogress?(totalProgress:数字,totalBytes:数字,totalBytesSent:数字):无效;
发送?(文件:DropzoneFile,xhr:XMLHttpRequest,formData:formData):无效;
发送多个?(文件:DropzoneFile[],xhr:XMLHttpRequest,formData:formData):无效;
成功?(文件:DropzoneFile,响应:Object | string):void;
successmultiple?(文件:DropzoneFile[],responseText:string):无效;
已取消?(文件:DropzoneFile):无效;
canceledmultiple?(文件:DropzoneFile[]):void;
完成?(文件:DropzoneFile):无效;
completemultiple?(文件:DropzoneFile[]):void;
已超出MaxFiles?(文件:DropzoneFile):无效;
MaxFilesReach?(文件:DropzoneFile[]):无效;
队列完成?():无效;
预览模板?:字符串;
}
声明类Dropzone{
构造函数(容器:string | HtmleElement,选项?:DropzoneOptions);
静态自动发现:布尔;
静态选项:任意;
静态确认:(问题:字符串,接受:()=>void,拒绝?:()=>void)=>void;
静态添加:字符串;
静态排队:字符串;
静态接受:字符串;
静态上传:字符串;
静态处理:字符串;
静态取消:字符串;
静态错误:字符串;
静态成功:字符串;
文件:DropzoneFile[];
enable():void;
disable():void;
破坏区;
addFile(文件:DropzoneFile):无效;
removeFile(文件:DropzoneFile):无效;
removeAllFiles(CancelIfEssential?:布尔值):无效;
processQueue():void;
取消上载(文件:DropzoneFile):无效;
processFiles(文件:DropzoneFile[]):void;
processFile(文件:DropzoneFile):无效;
上传文件(文件:DropzoneFile):无效;
getAcceptedFiles():DropzoneFile[];
getRejectedFiles():DropzoneFile[];
getQueuedFiles():DropzoneFile[];
getUploadingFiles():DropzoneFile[];
接受(文件:DropzoneFile,完成:(错误?:字符串|错误)=>void):void;
getActiveFiles():DropzoneFile[];
GetFileWithStatus(状态:字符串):DropzoneFile[];
排队文件(文件:DropzoneFile):无效;
排队文件(文件:DropzoneFile[]):void;
create缩略图(文件:DropzoneFile,callback?:(…args:any[])=>void):any;
CreateTumbNailFromURL(文件:DropzoneFile,url:string,回调?:(…args:any[])=>void):any;
on(eventName:string,callback:(…args:any[])=>void):Dropzone;
关闭(eventName:string):Dropzone;
emit(eventName:string,…args:any[]):Dropzone;
on(eventName:“drop”,callback:(e:DragEvent)=>any):Dropzone;
打开(eventName:“dragstart”,回调:(e:DragEvent)=>any):Dropzone;
on(eventName:“dragend”,callback:(e:DragEvent)=>any):Dropzone;
打开(eventName:“dragenter”,回调:(e:DragEvent)=>any):Dropzone;
打开(eventName:“dragover”,回调:(e:DragEvent)=>any):Dropzone;
on(eventName:“dragleave”,callback:(e:DragEvent)=>any):Dropzone;
on(eventName:“粘贴”,回调:(e:DragEvent)=>any):Dropzone;
打开(eventName:“重置”):Dropzone;
在(eventName:“addedfile”上,回调:(file:DropzoneFile)=>any):Dropzone;
在(eventName:“addedfiles”上,回调:(files:DropzoneFile[])=>any):Dropzone;
在(eventName:“removedfile”上,回调:(file:DropzoneFile)=>any):Dropzone;
打开(eventName:“缩略图”,回调:(文件:DropzoneFile,数据URL:string)=>any):Dropzone;
打开(eventName:“error”,回调:(文件:DropzoneFile,消息:string | error)=>any):Dropzone;
打开(eventName:“errormultiple”,回调:(文件:DropzoneFile[],消息:string | Error)=>any):Dropzone;
在(eventName:“processing”,callback:(file:DropzoneFile)=>any):Dropzone;
在(eventName:“processingmultiple”上,回调:(files:DropzoneFile[])=>any):Dropzone;
在(eventName:“uploadprogress”,