NyllRE / nuxt-file-storage

Easy solution to store files in your nuxt apps. Be able to upload files from the frontend and recieve them from the backend to then save the files in your project.
https://nuxt.com/modules/nuxt-file-storage
MIT License
63 stars 7 forks source link

Cannot detect handleFileInput complete #13

Closed siaikin closed 2 months ago

siaikin commented 2 months ago

When I upload multiple files, I need to wait for the serialization to complete before calling the upload interface. But I have no way of knowing if handleFileInput completes.

Maybe handleFileInput could return a Promise?

NyllRE commented 2 months ago

sounds like a good addition, will work on it for the next version

NyllRE commented 2 months ago

@siaikin update the module to 0.2.7 to use this feature, tell me if it fits your usecase so I can close this issue. Hope this helps!