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

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

    Package Sidebar

    Install

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

    Weekly Downloads

    1

    Version

    0.8.0

    License

    EUPL-1.1

    Unpacked Size

    11.1 kB

    Total Files

    6

    Last publish

    Collaborators

    • kalin.chernev
    • weslito
    • yhuard