ISSUE-99

listen

Add shorter method names for addEventListener, et al?

State:
POSTPONED
Product:
DOM4 Events
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:

2009-10-19 05:27:17: Browser vendors rejected this for DOM3 Events, may revisit in DOM4 Events. [Doug Schepers]

Display change log ATOM feed


Charles McCathieNevile <chaals@opera.com>, Arthur Barstow <art.barstow@nokia.com>, Chairs, Doug Schepers <schepers@w3.org>, Michael(tm) Smith <mike@w3.org>, Staff Contacts
Tracker, originally developed by Dean Jackson, is developed and maintained by the Systems Team <w3t-sys@w3.org>.
$Id: index.php,v 1.231 2009/11/16 15:00:54 dom Exp $