dropzone.js - how to do something after ALL files are uploaded

后端 未结 9 1188
花落未央
花落未央 2020-12-13 05:48

I am using dropzone.js for my drag-drop file upload solution. I am stuck at something where I need to call a function after all the files are uploaded. In this case

9条回答
  •  忘掉有多难
    2020-12-13 06:23

    The accepted answer is not necessarily correct. queuecomplete will be called even when the selected file is larger than the max file size.

    The proper event to use is successmultiple or completemultiple.

    Reference: http://www.dropzonejs.com/#event-successmultiple

提交回复
热议问题