FileBrowser

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

Live preview

Open in new tab ↗

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

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

More UI components

Browse all 348