Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 9 additions & 0 deletions angular-file-upload.js
Original file line number Diff line number Diff line change
Expand Up @@ -70,6 +70,15 @@ module
/**********************
* PUBLIC
**********************/
/**
* Set all the options as a single object
* @param {Object} [options]
*/
FileUploader.prototype.setOptions = function (options) {
// do not erase options that already added
// just overwrite some of them
angular.extend(this, options);
};
/**
* Checks a support the html5 uploader
* @returns {Boolean}
Expand Down
Loading