kukhariev / ngx-uploadx

Angular Resumable Upload Module
https://github.com/kukhariev/ngx-uploadx
MIT License
43 stars 23 forks source link

How to confirm before uploading via drop and drop #360

Closed ajeecai closed 2 years ago

ajeecai commented 2 years ago

Hi,

Suppose the existing files could be known in frontend, just want to pop a confirmation dialog before any real uploading happens.

But uploading via drop and drop, it looks like there is no place to intercept and wait for the user confirmation.

Appreciate your idea.

Thanks

kukhariev commented 2 years ago

Add to options autoUpload: false, the "added" event will be emitted when the file is dropped.

ajeecai commented 2 years ago

Thank you, with this option and the instruction mentioned, it works.