MCPcopy
hub / github.com/nervgh/angular-file-upload / _onProgressItem

Method _onProgressItem

src/services/FileUploader.js:686–693  ·  view source on GitHub ↗

* Inner callback * @param {FileItem} item * @param {Number} progress * @private

(item, progress)

Source from the content-addressed store, hash-verified

684 * @private
685 */
686 _onProgressItem(item, progress) {
687 var total = this._getTotalProgress(progress);
688 this.progress = total;
689 item._onProgress(progress);
690 this.onProgressItem(item, progress);
691 this.onProgressAll(total);
692 this._render();
693 }
694 /**
695 * Inner callback
696 * @param {FileItem} item

Callers 1

_xhrTransportMethod · 0.95

Calls 5

_getTotalProgressMethod · 0.95
onProgressItemMethod · 0.95
onProgressAllMethod · 0.95
_renderMethod · 0.95
_onProgressMethod · 0.80

Tested by

no test coverage detected