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

1.3.0 • Public • Published

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();
});

Package Sidebar

Install

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

Weekly Downloads

116

Version

1.3.0

License

EUPL-1.1

Unpacked Size

11.8 kB

Total Files

12

Last publish

Collaborators

  • papegaill
  • yhuard
  • kalin.chernev
  • weslito
  • emeryro
  • planctus