cubiclesoft / jquery-fancyfileuploader

A jQuery plugin to convert the HTML file input type into a fancy file uploader under a MIT or LGPL license. Mobile-friendly too!
58 stars 27 forks source link

Callback function on Remove file from list #34

Open AndreAfonsoEvox opened 9 months ago

AndreAfonsoEvox commented 9 months ago

Hello! Before all congratulations on the fancyuploader , it's really good and interactive but i have a question.

Is it possible to add a callback function (similiar of added)? that we can use everytime a item is removed to return which item we removed and to do other things after that removal? For example (according to function added)

removed: function (e, data) {
alert("uhuhuhuh you did it"); //now do some extra code here example }

Thanks in advance

brodrigz commented 9 months ago

https://github.com/cubiclesoft/jquery-fancyfileuploader/pull/31 Adds this

AndreAfonsoEvox commented 9 months ago

31 Adds this

Thank you , that works.

iprahin commented 8 months ago

Thank you , that works.

but this function doesn't work