@ec-europa/ecl-forms-file-uploads

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

Readme

Keywords

none

Package Sidebar

Install

npm i @ec-europa/ecl-forms-file-uploads

Weekly Downloads

2

Version

0.8.0

License

EUPL-1.1

Unpacked Size

11.1 kB

Total Files

6

Last publish

Collaborators

  • kalin.chernev
  • weslito
  • yhuard