file-upload-client-component

0.0.3 • Public • Published

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)

Package Sidebar

Install

npm i file-upload-client-component

Weekly Downloads

2

Version

0.0.3

License

MIT

Last publish

Collaborators

  • calvinfroedge