Web Component: j-FileUpload
j-FileUpload
Is very helpful component for uploading e.g. profile photos. I consider this component as inline file upload. Look into the html source. The component uploads files via multipart/form-data.
Configuration:
- url{String} a target URL for the uploading
- accept{String} (optional) can contain a content-type frow browsing files e.g.- image/*
- multipleenables- multiplefiles upload (default:- false)
- array{Boolean} enables pushing an uploaded value to array (- pathmust be the array)
- label{String} (optional) changes a current- innerHTML(default:- innerHTML)
- disabled{Boolean} disables
Friendly components:
This component works with loading (when the file is uploading) and message (when server throws an error) component.
Author
- Peter Širka petersirka@gmail.com
- License
Created
11. march 2016
Updated
31. january 2023
Version
v1
License
https://www.totaljs.com/license/
Responsive
Yes
Author
Peter Širka
Email
petersirka@gmail.com

