Web Component: j-FileBrowser


  • Info
  • HTML
  • JS
  • CSS
  • Meta

j-FileBrowser

The component will open a file browser and returns selected files.

  • singleton
  • easy usage

Methods:

  • component.open(opt) - opens file browser
    • opt.multiple {Boolean} enables multiple files (default: false)
    • opt.accept {String} allows only specified content-type (default: undefined)
    • opt.callback {Function(files, e)} a callback

Author