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

Method constructor

src/services/FileDirective.js:25–30  ·  view source on GitHub ↗

* Creates instance of {FileDirective} object * @param {Object} options * @param {Object} options.uploader * @param {HTMLElement} options.element * @param {Object} options.events * @param {String} options.prop * @constructor

(options)

Source from the content-addressed store, hash-verified

23 * @constructor
24 */
25 constructor(options) {
26 extend(this, options);
27 this.uploader._directives[this.prop].push(this);
28 this._saveLinks();
29 this.bind();
30 }
31 /**
32 * Binds events handles
33 */

Callers

nothing calls this directly

Calls 2

_saveLinksMethod · 0.95
bindMethod · 0.95

Tested by

no test coverage detected