@ecl/generic-component-form-file-upload

ECL File upload

Stats

StarsIssuesVersionUpdatedCreatedSize
@ecl/generic-component-form-file-upload
1.3.02 years ago3 years agoMinified + gzip package size for @ecl/generic-component-form-file-upload in KB

Readme

File uploads

Combination of fields and buttons to add documents or media to a form.

When to use

When there is a need to allow users to attach anything to a form (documents, pictures, videos, etc).

Implementation

In order to automatically attach event listeners on your file upload forms, add the following script to your page:

document.addEventListener('DOMContentLoaded', function() {
  ECL.fileUploads();
});

If you find any bugs or have a feature request, please open an issue on github!

The npm package download data comes from npm's download counts api and package details come from npms.io.