Documentation
API / onupload callback
This callback enables you to intercept the uploaded files.
Parameters
Name | Description |
---|---|
files | FileCollection instance with all the uploaded files. |
Example
moxman.upload({
path: '/files/images',
onupload: function(args) {
console.log(args.files);
}
});