ISSUE-99: Add shorter method names for addEventListener, et al?

listen

Add shorter method names for addEventListener, et al?

State:
POSTPONED
Product:
HISTORICAL: DOM4 Events [features subsumed by UI Events which uses Bugzilla]
Raised by:
Doug Schepers
Opened on:
2009-08-27
Description:
Alex Russell suggests that since addEventListener() and removeEventListener() are so commonly used, it would be good to add a lump of syntactic sugar by aliasing them with shorter names: listen() and unlisten(). He also suggests adding listenOnce() as a further shortcut method:

<http://www.w3.org/mid/6fc58d0d0904241431n290e8166m1e126cc02e735564@mail.gmail.com>
Related Actions Items:
No related actions
Related emails:
  1. Re: ISSUE-99 (listen): Add shorter method names for addEventListener, et al? [DOM3 Events] (from castonet@yahoo.co.uk on 2009-08-28)
  2. Re: ISSUE-99 (listen): Add shorter method names for addEventListener, et al? [DOM3 Events] (from annevk@opera.com on 2009-08-28)
  3. Re: ISSUE-99 (listen): Add shorter method names for addEventListener, et al? [DOM3 Events] (from robin@berjon.com on 2009-08-28)
  4. Re: ISSUE-99 (listen): Add shorter method names for addEventListener, et al? [DOM3 Events] (from robin@berjon.com on 2009-08-28)
  5. Re: ISSUE-99 (listen): Add shorter method names for addEventListener, et al? [DOM3 Events] (from oliver@apple.com on 2009-08-27)
  6. Re: ISSUE-99 (listen): Add shorter method names for addEventListener, et al? [DOM3 Events] (from castonet@yahoo.co.uk on 2009-08-27)
  7. ISSUE-99 (listen): Add shorter method names for addEventListener, et al? [DOM3 Events] (from sysbot+tracker@w3.org on 2009-08-27)

Related notes:

Browser vendors rejected this for DOM3 Events, may revisit in DOM4 Events.

Doug Schepers, 19 Oct 2009, 05:27:17

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: 99.html,v 1.1 2016/01/25 10:26:24 carine Exp $