Web component: j-FileUploadList


  • Info
  • HTML
  • JS
  • CSS
  • Meta

j-FileUploadList

This component can upload files and the result adds into the model. Model must be the array.

Configuration:

  • url {String} URL to upload (default: /api/upload/)
  • accept {String} Optional, a content type for filtering files e.g. image/*
  • multiple {Boolean} Optional, enables multiple files uploading (default: true)

Model:

Server must return Array in the form below:

[
    {
        name: String,
        length: Number,
        url: String
    }
]

Author

Browser‘s Save action performs Preview