Topic: Events documentation from file upload jquery plugin
Virtual080 asked 4 years ago
I have the jquery drag & drop file upload plugin, and I would like to know if there is a way to get the information of events and callbacks since there is no documentation or examples.
For example, I would like to know if the delete image button click event can receive a callback function.
Thanks.
Marcin Luczak staff answered 4 years ago
Hello,
There is no default callback or event features for drag and drop. You can however listen to the events such as change
on input or click
on the button inside the .file-upload-wrapper
class. Please see my snippet:
https://mdbootstrap.com/snippets/jquery/marcin-luczak/2776023
Regards, Marcin
Virtual080 commented 4 years ago
Wow ... It's a shame :( Do you plan to implement it at some point? Thanks Marcin
Marcin Luczak staff commented 4 years ago
We don't have it in our plans right now, but as it seems like a valuable feature to have I've added a proper feature request for that. The team shall decide when to implement this functionality.
Regards, Marcin
FREE CONSULTATION
Hire our experts to build a dedicated project. We'll analyze your business requirements, for free.
Answered
- User: Free
- Premium support: No
- Technology: MDB jQuery
- MDB Version: 4.18.0
- Device: iMac
- Browser: chome
- OS: osx
- Provided sample code: No
- Provided link: No