happy-dom
Version:
Happy DOM is a JavaScript implementation of a web browser without its graphical user interface. It includes many web standards from WHATWG DOM and HTML.
17 lines • 522 B
JavaScript
import EventTarget from '../event/EventTarget.js';
/**
* References: https://xhr.spec.whatwg.org/#xmlhttprequesteventtarget.
*/
export default class XMLHttpRequestEventTarget extends EventTarget {
constructor() {
super(...arguments);
this.onloadstart = null;
this.onprogress = null;
this.onabort = null;
this.onerror = null;
this.onload = null;
this.ontimeout = null;
this.onloadend = null;
}
}
//# sourceMappingURL=XMLHttpRequestEventTarget.js.map