node-XMLHttpRequest icon indicating copy to clipboard operation
node-XMLHttpRequest copied to clipboard

DOM event handling

Open driverdan opened this issue 13 years ago • 2 comments

Add proper DOM event hander (addEventListener) and full event support. See http://dvcs.w3.org/hg/progress/raw-file/tip/Overview.html.

driverdan avatar Feb 27 '12 17:02 driverdan

Now supports

  • addEventListener
  • removeEventListener
  • dispatchEvent

But is missing support for a few events such as abort.

driverdan avatar Jun 01 '12 20:06 driverdan

@driverdan I have code like this:

xhr.addEventListener('load', e => {
  ....
});

but e is undefined. Is it expected?

aamster avatar Dec 29 '17 21:12 aamster