rowanwins / vue-dropzone

A Vue.js component for Dropzone.js - a drag’n’drop file uploads utility with image previews
https://rowanwins.github.io/vue-dropzone/docs/dist
MIT License
2.02k stars 1.4k forks source link

Custom HTML via slots needs file preview section too #574

Open yagizcagan opened 4 years ago

yagizcagan commented 4 years ago

Hi; İts good to see .dz-message wrapped but why not file preview section,with this custom styling method ı cant style fully with v-if's and class bindings.İt's realy very useful and thetutlage/vue-clip component can does it but he cant upgrade it and he use very older version of dropzone and ı cant use it in SSR environment.I need you to wrap it like thetutlage ı think its not very difficult to you and its push the package further with that fully custom styling.I take a look some of the parts of the dist folder but code is not clean and whole code is one line maybe you want to get hardened others make changes.So can you please wrap file preview section too,take a look at vue-clip.

Best Regards

mayanksdudakiya commented 3 years ago

Yes, Please.

I would like to add additional details for each images but can't find out any way to do that

vesper8 commented 3 years ago

This is so badly needed IMO.. it's so difficult to do trivial things like add a styled border to one of the images.. you have to resort to targetting the element by class and adding/removing classes to it.. ala jQuery.. or am I missing something? Would be nice if the image previews used a slot where you could customize the preview based on the current props (ie the current image)