async: Object
Configures the ability to upload a file(s) in an asynchronous manner. Please refer to the async mode help topic for more details.
autoUpload: Boolean(default: "fileNames")
The selected files will be uploaded immediately by default. You can change this behavior by setting autoUpload to false.
removeField: String(default: "fileNames")
The name of the form field submitted to the Remove URL.
removeUrl: String
The URL of the handler responsible for removing uploaded files (if any). The handler must accept POST requests containing one or more "fileNames" fields specifying the files to be deleted.
removeVerb: String(default: "DELETE")
The HTTP verb to be used by the remove action.
saveField: String
The name of the form field submitted to the save URL. The default value is the input name.
saveUrl: String
The URL of the handler that will receive the submitted files. The handler must accept POST requests containing one or more fields with the same name as the original input name.
enabled: Boolean(default: true)
Enables (true) or disables (false) an Upload. A disabled Upload may be re-enabled via enable().
localization: Object
Sets the strings rendered by the Upload.
cancel: String
Sets the text of the cancel button text.
dropFilesHere: String(default: "drop files here to upload")
Sets the drop zone hint.
remove: String
Sets the text of the remove button text.
retry: String
Sets the text of the retry button text.
select: String
Sets the "Select..." button text.
statusFailed: String
Sets the status message for failed uploads.
statusUploaded: String
Sets the status message for uploaded files.
statusUploading: String
Sets the status message for files that are being uploaded.
uploadSelectedFiles: String
Sets the text of the "Upload files" button.
multiple: Boolean(default: true)
Enables (true) or disables (false) the ability to select multiple files. If false, users will be able to select only one file at a time. Note: This option does not limit the total number of uploaded files in an asynchronous configuration.
showFileList: Boolean(default: true)
Enables (true) or disables (false) the ability to display a file listing for uploading a file(s). Disabling a file listing may be useful you wish to customize the UI; use the client-side events to build your own UI.