file-upload-client-component
A simple API for handling file uploads
Keywords
fileuploadsbrowseronlyfileuploadclientupload
<script src=" https://cdn.jsdelivr.net/npm/file-upload-client-component@0.0.3/main.min.js "></script>
#FileUploadClient Component
This component handles just the upload part for building applications like a client-side image editor, audio manager, etc. It provides a simple upload callback:
var c = new FileUploadClientComponent({
attachTo: $('#container'),
events: {
onUpload: function(files){
console.log('files are', files);
}
}
});
You can also customize the following via options:
- headingText
- allowMultiple (set to true to allow multiple file upload)