// ...
onComplete: function (id, name, responseJson, xhr) {
var uuid = this.getUuid(id);
// ...
}
// ...
onComplete
: Is called when the item has finished uploading successfully (i.e., { success: true }
). You may want to get the uuid on other events. Just remember that as long as you have the file or blob's id
you can use getUuid
.
getUuid
: Will return the UUID of the item with the associated id.