ISSUE-185: Functions that Implement the EventListener Interface

handleEvent

Functions that Implement the EventListener Interface

State:
CLOSED
Product:
HISTORICAL: DOM3 Events [All Bugs and Issues use Bugzilla: http://tinyurl.com/Bugs-DOM3Events]
Raised by:
Jacob Rossi
Opened on:
2011-08-16
Description:
LC issue raised on the behalf of Rob Brackett.

A fragment sentence seems to be left over in the description of EventListener:

> The listener parameter must be an object which implements the EventListener interface, such as a reference to a .
>
> The listener parameter must be either an object that implements the EventListener interface, or a function. If listener is a function then it must be used as the callback for the event; otherwise, if listener implements EventTarget, then its handleEvent method must be used as the callback.
>
> The listener parameter takes an object defined by the author which implements the EventListener interface and contains the method to be called when the event occurs.
>
Related Actions Items:
No related actions
Related emails:
  1. Agenda: DOM Level 3 Events Telecon, 17 August 2011 (from Jacob.Rossi@microsoft.com on 2011-08-16)
  2. WebApps-ISSUE-185 (handleEvent): Functions that Implement the EventListener Interface [DOM3 Events] (from sysbot+tracker@w3.org on 2011-08-16)

Related notes:

Revision 1.201. Removed the fragment sentence and made an editorial clarification that is consistent with implementations:

"The listener parameter must be either an object that implements the EventListener interface or a function. If listener is a function then it must be used as the callback for the event; otherwise, if listener implements EventListener, then its handleEvent method must be used as the callback. If listener is a function that also has a handleEvent method, the function itself must be used as the callback and not its handleEvent method."

Jacob Rossi, 16 Aug 2011, 18:10:53

Commenter satisifed with proposed change:

http://lists.w3.org/Archives/Public/www-dom/2011AprJun/0274.html

Jacob Rossi, 16 Aug 2011, 18:12:10

Commenter satisified with change:

http://lists.w3.org/Archives/Public/www-dom/2011JulSep/0058.html

Jacob Rossi, 16 Aug 2011, 18:32:48

Display change log ATOM feed


Chair, Staff Contact
Tracker: documentation, (configuration for this group), originally developed by Dean Jackson, is developed and maintained by the Systems Team <w3t-sys@w3.org>.
$Id: 185.html,v 1.1 2016/01/25 10:26:18 carine Exp $