Event Handler Attribute

Where is the `thisArg` specified in D3E? Context for event handler
properties or eventListeners registered with addEventListener is
generally set to the object on which the callback has been set on.
Example:

  document.body.addEventListener("click", f, false);

  function f() {
    alert( this === document.body );
  }

That behavior should be specified somewhere, and if not in D3E, then
somewhere that D3E links to, like HTML5.
-- 
Garrett

Received on Friday, 24 December 2010 02:56:13 UTC