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:
- Re: ISSUE-99 (listen): Add shorter method names for addEventListener, et al? [DOM3 Events] (from castonet@yahoo.co.uk on 2009-08-28)
- Re: ISSUE-99 (listen): Add shorter method names for addEventListener, et al? [DOM3 Events] (from annevk@opera.com on 2009-08-28)
- Re: ISSUE-99 (listen): Add shorter method names for addEventListener, et al? [DOM3 Events] (from robin@berjon.com on 2009-08-28)
- Re: ISSUE-99 (listen): Add shorter method names for addEventListener, et al? [DOM3 Events] (from robin@berjon.com on 2009-08-28)
- Re: ISSUE-99 (listen): Add shorter method names for addEventListener, et al? [DOM3 Events] (from oliver@apple.com on 2009-08-27)
- Re: ISSUE-99 (listen): Add shorter method names for addEventListener, et al? [DOM3 Events] (from castonet@yahoo.co.uk on 2009-08-27)
- 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:17Display change log