Web UI component: j-FileUploader


  • Info
  • HTML
  • JS
  • CSS
  • Meta

j-FileUploader

A simple singleton component for uploading of files.

Methods:

  • fileuploader/upload(opt) shows a file dialog
    • opt.url {String} important URL where will be image uploaded
    • opt.callback(response, errors) {Function} a callback important
    • opt.multiple {Boolean} supports multiple files (default: false)
    • opt.progress(percentage) {Function}
    • opt.multiple {Boolean} enables multiple file uploading (default: false)
    • opt.accept {String} accept type (default: */*)
    • opt.prefix {String} a name prefix <input name="file{0}" (default: file{0})

Friendly components: This component works with loading when the file is uploading.

Author