W3C home > Mailing lists > Public > www-dom@w3.org > January to March 2012

[Bug 16491] New: Add simpler and better event registration system

From: <bugzilla@jessica.w3.org>
Date: Fri, 23 Mar 2012 08:24:13 +0000
To: www-dom@w3.org
Message-ID: <bug-16491-4009@http.www.w3.org/Bugs/Public/>
https://www.w3.org/Bugs/Public/show_bug.cgi?id=16491

           Summary: Add simpler and better event registration system
           Product: WebAppsWG
           Version: unspecified
          Platform: PC
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: P2
         Component: DOM
        AssignedTo: annevk@opera.com
        ReportedBy: annevk@opera.com
         QAContact: public-webapps-bugzilla@w3.org
                CC: mike@w3.org, www-dom@w3.org


At TPAC and on the mailing list it was brought up to have something like

  target.on.{event}.add(handler)
  target.on.{event}.remove(handler)

To these event listeners it would be as if all events bubble. You could pass
some kind of options object for constraints. Having event delegation natively
was also brought up. Nobody has made a concrete proposal to date however.

-- 
Configure bugmail: https://www.w3.org/Bugs/Public/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
Received on Friday, 23 March 2012 08:24:20 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Friday, 22 June 2012 06:14:09 GMT