Topic: Events documentation from file upload jquery plugin
Virtual080
pro asked 4 months 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 months 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 pro commented 4 months ago
Wow ... It's a shame :( Do you plan to implement it at some point? Thanks Marcin
Marcin Luczak staff commented 4 months 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
Answered
- User: Pro
- Premium support: No
- Technology: jQuery
- MDB Version: 4.18.0
- Device: iMac
- Browser: chome
- OS: osx
- Provided sample code: No
- Provided link: No