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

Need to bind to the Remove button #33

Open TheSin- opened 1 year ago

TheSin- commented 1 year ago

https://github.com/cubiclesoft/jquery-fancyfileuploader/blob/af8174b92b906b0126ea7754b247e96913eb97b4/fancy-file-uploader/jquery.fancy-fileupload.js#L235

On this line can we add

inforow.find('.ff_fileupload_remove_file').trigger('removing');

on this line? There is no way that I can find to bind to the Remove button so I can remove it internally. Not sure if this is the best way, but it works perfectly for me. I'm open to suggestions.