1.3.0 • Published 5 years ago

@ecl/generic-component-form-file-upload v1.3.0

Weekly downloads
136
License
EUPL-1.1
Repository
github
Last release
5 years ago

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