Creates an event emitter instance to listen for the actions
Call the function to remove the event
Gets as any arguments as it needs
Creates an event emitter instance to listen for the actions
Call the function to remove the event
Creates an event emitter instance to listen for the actions
Call the function to remove the event
Gets as any arguments as it needs
Creates an event emitter instance to listen for the actions
Call the function to remove the event
Removes the specified event and invokes the callback after it is removed
Optional
callback: EventListenerCallbackTriggers the event manually.
Rest
...args: any[]Arguments that needs to be passed down
Adds the listener function to the beginning of the listeners array for the event named eventName. No checks are made to see if the listener has already been added. Multiple calls passing the same combination of eventName and listener will result in the listener being added, and called, multiple times.
Adds a one-time listener function for the event named eventName to the beginning of the listeners array. The next time eventName is triggered, this listener is removed, and then invoked.
Sends the request. If the request is asynchronous (which is the default), this method returns as soon as the request is sent.
https://developer.mozilla.org/en-US/docs/Web/API/XMLHttpRequest/send
Optional
data: string | FormDataSets the value of an HTTP request header. You must call setRequestHeader() after open(), but before send().
https://developer.mozilla.org/en-US/docs/Web/API/XMLHttpRequest/setRequestHeader
Fired when a request has been aborted, for example because the program called XMLHttpRequest.abort(). Also available via the onabort event handler property.
https://developer.mozilla.org/en-US/docs/Web/API/XMLHttpRequest/abort_event
Rest
...args: any[]Fired when the request encountered an error. Also available via the onerror event handler property.
https://developer.mozilla.org/en-US/docs/Web/API/XMLHttpRequest/error_event
Rest
...args: any[]Fired when an XMLHttpRequest transaction completes successfully. Also available via the onload event handler property.
https://developer.mozilla.org/en-US/docs/Web/API/XMLHttpRequest/load_event
Rest
...args: any[]Fired when a request has completed, whether successfully (after load) or unsuccessfully (after abort or error). Also available via the onloadend event handler property.
https://developer.mozilla.org/en-US/docs/Web/API/XMLHttpRequest/loadend_event
Rest
...args: any[]Fired when a request has started to load data. Also available via the onloadstart event handler property.
https://developer.mozilla.org/en-US/docs/Web/API/XMLHttpRequest/loadstart_event
Rest
...args: any[]Fired periodically when a request receives more data. Also available via the onprogress event handler property.
https://developer.mozilla.org/en-US/docs/Web/API/XMLHttpRequest/progress_event
Rest
...args: any[]Fired whenever the readyState property changes. Also available via the onreadystatechange event handler property.
https://developer.mozilla.org/en-US/docs/Web/API/XMLHttpRequest/readystatechange_event
Rest
...args: any[]Fired when progress is terminated due to preset time expiring. Also available via the ontimeout event handler property.
https://developer.mozilla.org/en-US/docs/Web/API/XMLHttpRequest/timeout_event
Rest
...args: any[]Readonly
readyReadonly
responseReadonly
responseOptional
Readonly
responseURLReadonly
statusReadonly
statusReadonly
uploadGenerated using TypeDoc
See
https://developer.mozilla.org/en-US/docs/Web/API/XMLHttpRequest