grafikart / customelement-dropfiles Goto Github PK
View Code? Open in Web Editor NEWCustomized built-in element to add user interactions on a file input with multiple files as a progressive enhancement.
Customized built-in element to add user interactions on a file input with multiple files as a progressive enhancement.
Hello Guys !
Hope that you are doing well!
Is there a prop that can we use to inject an array of links or files to be able to preview them ?
It's useful when you are building edit forms because the user will probably want to see what he already uploaded otherwise this field will be empty as by default
Kind regards
Hello,
I'm trying to show previously uploaded files.
i can't see a way to do it.
si j'utilise vue dans la meme page que CustomElement-dropFiles ça ne marche pas (CustomElement-dropFiles), j'ai essayé dans un autre projet et j'ai eu le meme probleme.
First of all, I found this library very interesting. Just a way it use custom element and don't require ajax request is very helpul.
But if, for example I want to upload only one image but want to have a nice view for the user (remove image, have the image thumbnail etc... )
<input type="file" name="image" label="Drop your image there." is="drop-files" />
this library do not support this and keep adding files ( I just want one file, if there is already a file and user want to add another the first one must be replaced )
I think we can do this by checking if the multiple
attribute is false
adding an uploaded image viewer, like a lightbox.
Bonjour,
Merci beaucoup pour le partage et la vidéo explicative qui va avec.
J'aimerais utiliser ce web component dans un projet mais il n'y a pas de licence.
Pourrais-tu l'expliciter ?
Merci
Hello,
Is it possible to add an option to set the maximum number of uploads ?
Thank you.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.