使用AngularJS版本的文件上载(https://blueimp.github.io/jQuery-File-Upload/angularjs.html),我试图弄清楚如何通过dropZone属性声明dropZone--相当于:
$(el).fileupload({ dropZone: $('.dropZone', this) })
发布于 2015-06-18 15:06:45
在他们的wiki剖面上,他们列出了一个角度指令作为叉。
如果您在github存储库上访问他们的使用部分,您将看到他们已经创建了一个指令,您可以这样使用:
<ng-upload-form url="//jquery-file-upload.appspot.com/" auto-upload="true" size-limit="500000"></ng-upload-form>
我觉得这应该对你有帮助。
https://stackoverflow.com/questions/30918517
相似问题