The dialog's title, if missing a generic title will be used
Param: config.filter
The type of files allowed
Param: config.text
Text describing which files to upload - a generic message will be
shown if absent
Param: config.validate
A function which accepts a list of files and validates
them - it should return an object with, files- a list of accepted files, msg - a string explaining
why files were invalid. If absent all files will be accepted
Param: config.onstartupload
A function which accepts the files to be uplaoded
and returns an object containing any data to send to the server
A dialog which allows user to upload files
Param: config
The settings for the dialog
Param: config.title
The dialog's title, if missing a generic title will be used
Param: config.filter
The type of files allowed
Param: config.text
Text describing which files to upload - a generic message will be shown if absent
Param: config.validate
A function which accepts a list of files and validates them - it should return an object with, files- a list of accepted files, msg - a string explaining why files were invalid. If absent all files will be accepted
Param: config.onstartupload
A function which accepts the files to be uplaoded and returns an object containing any data to send to the server
Param: config.url
The url for the upload